Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
fix get_order_book_simple call
Browse files Browse the repository at this point in the history
  • Loading branch information
JahPowerBit committed Apr 9, 2014
1 parent 52f68b1 commit 3a306b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ def get_o_pct(o):
return pct_fee_provided, pct_fee_required

#filter results by pct_fee_provided and pct_fee_required for BTC pairs as appropriate
if base_asset == 'BTC' or quote_asset == 'BTC':
filtered_base_bid_orders = []
filtered_base_ask_orders = []
filtered_base_bid_orders = []
filtered_base_ask_orders = []
if base_asset == 'BTC' or quote_asset == 'BTC':
for o in base_bid_orders:
pct_fee_provided, pct_fee_required = get_o_pct(o)
addToBook = True
Expand Down

0 comments on commit 3a306b3

Please sign in to comment.