Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #78 from grandizzy/liquid_fix
Browse files Browse the repository at this point in the history
Fix liquid trade side
  • Loading branch information
grandizzy committed Jun 26, 2019
2 parents 927080d + 3253eaf commit d92fdaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyexchange/liquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def to_trade(pair, trade):
return Trade(trade_id=str(trade['id']),
timestamp=int(trade['created_at']),
pair=pair,
is_sell=trade['taker_side'] == 'sell',
is_sell=trade['taker_side'] == 'buy',
price=Wad.from_number(trade['price']),
amount=Wad.from_number(trade['quantity']))

Expand Down

0 comments on commit d92fdaa

Please sign in to comment.