drew2323 / v2trading

V2Trading platform - live trading engine, backtesting and research tool.
https://trading.mujdenik.eu
9 stars 3 forks source link

Data mngmt package #250

Open drew2323 opened 1 month ago

drew2323 commented 1 month ago

Create a shared package that could be installed and then reused by different projects (local research notebook, different instances of v2realbot, scripts etc.) to serve as one point of fetching the data and sharing the cache.

Responsibility of this package:

Ideas

Exposed IF:

After installing the package you just configure the stores and access keys and use it within your app - and can use/reuse existing stores.

For stocks daily files always contain also extended hours, they can be filtered by API or by client)

Try to reuse v2trading cache structure - to avoid rework

For speed - optimize remote fetching and loading as suggested in this conversation.

Tasks:

Open

DB support

drew2323 commented 1 month ago

Inspiration from this design (originally meant primarily for database. It has to be decided yet if db will be supported in the first phase, decide during implementattion):

image