No project description provided
Project description
stocklake
Table of Contents
Installation
pip install stocklake
Quick start
pre requesties:
- docker && docker compose
1. setup docker compose
Let's create docker compose file.
touch docker-compose.yml
Then, copy the docker compose file contents from this repository and run docker containers.
docker compose up -d
This command builds the following containers.
- PostgreSQL for stocklake data.
- Metabase Web UI
- PostgreSQL for metabase.
2. Download NASDAQ API data.
Run the following command to download data from nasdaq API and save into PostgreSQL.
stocklake download nasdaqapi --exchange nasdaq --store_type postgresql
3. Setup metabase
Accessing the metabase web ui (Metabase Web UI) and setup connection of stocklake PostgreSQL database with the following settings.
section | value |
---|---|
Database Type | PostgreSQL |
Host | stocklake-db |
Port | 5432 |
Database name | stocklake |
Username | postgres |
Password | password |
Other settings can be theier default values.
License
stocklake
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stocklake-0.0.11.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for stocklake-0.0.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b639e374d3713348985ed02fa40ca9a6e25a7e2aef2b40c18cb54ef845bf7a8b |
|
MD5 | bd8e9ff186cc05b44f0623e9091bd478 |
|
BLAKE2b-256 | 2df26f545133f14f589269955094938ebf112717146110422370dde9ff05460b |