No project description provided
Project description
Finclaw
Finclaw is a dedicated tool designed to fetch and update price data for various assets from multiple vendors. It has been designed to provide uniform data interface across multiple vendors.
Principles
- Don't use new libraries unless they are accepted by the industry
- Longevity and simplicity over shortness and complexity
Vendors supported
- Finnhub
- FMP
- TwelveData
Running on local
Setting up env variables
Before you start fetching data, you need to set up environment variables.
IMAGE=None
TRADE_ENGINE_DATA=./data
FINNHUB_API=x
# FMP creds
FMP_API_KEY=None
# Twelvedata creds
TWELVEDATA_API_KEY=None
# Kraken creds
KRAKEN_API_KEY=None
KRAKEN_API_SECRET=None
Example usage
# Load environment variables defined in .env file
source ./tools/load_env.sh
finclaw grab --start 2023-08-13 --end 2023-09-04 --frequency 1 --include-information p --vendor fmp --market TO
# Pull data for all stocks and store into path specified by TRADE_ENGINE_DATA variable
finclaw grab --start 2023-08-13 --end 2023-09-04 \
--frequency 1 --include-information p --vendor fmp --market TO
# Pull data for RY.TO symbol and store it in S3 bucket
finclaw grab --start 2024-01-18 --end 2024-01-19 \
--frequency 1 --market TO -ic p -v fmp -s RY.TO \
--storage-type s3 --bucket-name my-financial-datalake-bucket --region us-east-1
(WIP) Infra Setup
- When creating a job definition make sure the user is marked as Priveleged else it will fail with mount error
VolumeDriver.Create: mounting volume failed: b'mount.nfs4: access denied by server while mounting 127.0.0.1:/'
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
finclaw-0.0.3.tar.gz
(31.1 kB
view details)
Built Distribution
finclaw-0.0.3-py3-none-any.whl
(45.1 kB
view details)
File details
Details for the file finclaw-0.0.3.tar.gz
.
File metadata
- Download URL: finclaw-0.0.3.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e9a9ac24942e4ae82918961789b4b57650d4cc3e31de598dfa37f41b014c98d |
|
MD5 | 07f2ae899b54018ddca0f8f4ee6a27f8 |
|
BLAKE2b-256 | 820f7ea4b13da7f3418989b4b069b9656ecee2d1140edbb073ca72e491f24005 |
File details
Details for the file finclaw-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: finclaw-0.0.3-py3-none-any.whl
- Upload date:
- Size: 45.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9488b1389aa696beb91e420b5f2707a65eee2ea39ffe2d22854b38b1318f2436 |
|
MD5 | ce0c57b0dd38d5d0759e48c495d1b0c1 |
|
BLAKE2b-256 | 71da523e5e4809e1ecbbe0b6a95bcb88f1cf20bdb1561ea94164020d750304e9 |