You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An InfiniteDepthOrderBook class which inherit from this AbstractOrderBook
Such a class could have methods like bid, ask, spread (for a given volume)
which returns price and remaining volume (0 in case of infinite depth)
And an other class FiniteDepthOrderBook (for finite depth orderbooks)
We should probably have some orderbook classes
First an
AbstractOrderBook
(abstract) classAn
InfiniteDepthOrderBook
class which inherit from thisAbstractOrderBook
Such a class could have methods like
bid
,ask
,spread
(for a given volume)which returns price and remaining volume (
0
in case of infinite depth)And an other class
FiniteDepthOrderBook
(for finite depth orderbooks)There is some historical orderbook providers such as https://lobsterdata.com/info/DataSamples.php
so we could also have class to manage this also
Similiar question with zipline: quantopian/zipline#1616
The text was updated successfully, but these errors were encountered: