module
0.0.0-20241001213039-1eb0b05ef531
Repository: https://github.com/bcap/stock-data.git
Documentation: pkg.go.dev
# README
stock-data
This is a golang program used to build historical data around stocks / funds / etfs
It uses:
- EODHD as source of truth for financial data
- AWS S3 for final storage of processed files
- AWS Athena for querying the generated data
Today the program supports:
- listing all avaialble exchanges
- listing all tickers for given exchanges
- fetching historical intraday data for particular tickers
- fetching fundamentals about particular tickers
Check sample-config.yaml for a bare-bones configuration example
How
Overall the program works by:
- reading the passed config file
- fetching relevant data from eodhd.com
- transforming and normalizing such data with internal jq scripts (those are executed used a golang jq implementation, so no need for the
jq
tool installed) + golang code - upload such data to AWS S3
Check the athena/ directory for example queries and table definitions