Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alhankeser/borsa
Trading bot that relies on dbt and DuckDB for data transformations
https://github.com/alhankeser/borsa
dbt dbt-duckdb duckdb tradestation-api trading-bot
Last synced: 21 days ago
JSON representation
Trading bot that relies on dbt and DuckDB for data transformations
- Host: GitHub
- URL: https://github.com/alhankeser/borsa
- Owner: alhankeser
- License: mit
- Created: 2024-03-23T23:19:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-02T19:59:29.000Z (6 months ago)
- Last Synced: 2024-05-07T18:22:12.695Z (6 months ago)
- Topics: dbt, dbt-duckdb, duckdb, tradestation-api, trading-bot
- Language: Python
- Homepage: https://alhan.co/g/trading-bot-dbt-duckdb
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Trading Bot
A personal day-trading bot that relies on dbt and DuckDB for data transformations.[Learn more](https://alhan.co/g/trading-bot-dbt-duckdb)
### Why
I'm publicly rewriting my day trading bot because:
- **Improve maintainability:** the current codebase is hot garbage because of all of the changes I made on top of the original design without making incremental improvements to the design.
- **It's worth it:** my super-basic strategies work much better than expected (yes, trading bots _can_ make money), so it's worth making a more maintainable version of it.
- **Performance:** back-testing is super slow. I think it's due to the over-reliance on non-vectorized operations and lots of for-loops.
- **Shiny new toys:** I'm going to use this as an opportunity to try out dbt and DuckDB together to see if the combo is suitable in this context. I've seen it work well at my last job where we used DuckDB to transform fresh data on-the-fly for use in ML Models.