Skip to content

A REST API for ARK Invest holdings data, written in rust using axum, Redoc/Swagger through Aide, and parquet using polars. Not affiliated with Ark Invest

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

NexVeridian/ark-invest-api-rust

Repository files navigation

A REST API for ARK Invest holdings data, written in rust using axum, Redoc/Swagger through Aide, and parquet using polars

api.NexVeridian.com

Not affiliated with Ark Invest

Install

Copy docker-compose.yml

Create data folder next to docker-compose.yml, data\parquet\*.parquet with the ticker in all caps ARKK.parquet, get the data from api.NexVeridian.com or ark-invest-api-rust-data

├───data
│   └───parquet
│   	└───*.parquet
├───docker-compose.yml

docker compose up --pull always

If not using nginx, set environment NGINX = false in docker compose

Dev Install

Dev Containers

Install docker, vscode and the Dev Containers Extension

git clone

Ctrl+Shift+P Dev Containers: Open Folder in Container

Place data in data\parquet\*.parquet with the ticker in all caps ARKK.parquet, get the data from api.NexVeridian.com or ark-invest-api-rust-data

cargo run

Docker Compose

git clone

Place data in data\parquet\*.parquet with the ticker in all caps ARKK.parquet, get the data from api.NexVeridian.com or ark-invest-api-rust-data

docker compose build && docker compose up

Remove the cargo cache for buildkit with docker builder prune --filter type=exec.cachemount

License

All code in this repository is dual-licensed under either License-MIT or LICENSE-APACHE at your option. This means you can select the license you prefer.

Why dual license

About

A REST API for ARK Invest holdings data, written in rust using axum, Redoc/Swagger through Aide, and parquet using polars. Not affiliated with Ark Invest

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT

Stars

Watchers

Forks