Skip to content

Commit

Permalink
limit orders working for gemini
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Jul 2, 2019
1 parent 9e94850 commit a33b55d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aat/exchanges/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def tickToData(self, jsn: dict) -> MarketData:
typ = TickType.TRADE
elif s in ('AUCTION_INDICATIVE', 'AUCTION_OPEN', 'BOOKED', 'INITIAL'):
typ = TickType.OPEN
elif s in ('CANCELLED',):
typ = TickType.CANCEL
else:
typ = TickType_from_string(s)
delta = float(jsn.get('delta', 0.0))
Expand Down

0 comments on commit a33b55d

Please sign in to comment.