mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-21 07:44:22 +01:00
General fixups
This commit is contained in:
@@ -12,6 +12,12 @@ class OrderBook:
|
||||
self.asks = []
|
||||
self.bids = []
|
||||
|
||||
def get_bids(self):
|
||||
return self.bids
|
||||
|
||||
def get_asks(self):
|
||||
return self.asks
|
||||
|
||||
def updateFromSnapshot(self, data):
|
||||
# [[4642.3, 1, 4.192], [4641.5, 1, 1]]
|
||||
for order in data:
|
||||
|
||||
Reference in New Issue
Block a user