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.10.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for stocklake-0.0.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa0539b73425a6948e2fcdc7d6edc415d1151c9ebe8526c6d0bca2f58713022 |
|
MD5 | db9c690aba9b9d7ef795ad20d1e8103e |
|
BLAKE2b-256 | 8d507bfb8c536c00e136d95bc970bb4fcbfc62ad7f833221f844ac289c91e049 |