Created
March 10, 2019 18:38
-
-
Save solalatus/15eac102cadbbbf8ce6c50bf098140ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from orderbook import OrderBook | |
class ElectraOrderBook(OrderBook): | |
def get_executed_trades(self): | |
trades_list=[] | |
#... | |
# do some magic with self.idontknowwhat variables, put them into the trades_list... | |
#... | |
return trades_list | |
##### Usage later: | |
lob=ElectraOrderBook() | |
print(lob.get_executed_trades()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment