curveresearch / curvesim

Simulates Curve Finance pools
MIT License
155 stars 32 forks source link

File data loading #287

Open chanhosuh opened 11 months ago

chanhosuh commented 11 months ago

FileDataSource should implement a generic DataSource interface and be able to load a csv file of historical prices and volumes. It should return a Pandas Series-like object (can just use an actual Series for now) for each price/volume series. Might be good to just have each query return one series.

TODOs:

Last two items will prepare the step to replacing PriceVolume with a ReferenceMarket.

chanhosuh commented 10 months ago

Data Loading