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.9.tar.gz
(20.2 kB
view hashes)
Built Distribution
Close
Hashes for stocklake-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24777bc4827b7f43f17629d9054fdfe32ab3122dbdc70a7da786ee184e545bde |
|
MD5 | 01ba86cd27d45c003ab2ebe96af60f3b |
|
BLAKE2b-256 | 6da14ac36e016ce22f9b1426ee2ff9af5c8c21d61baa3474a597224d3a04284f |