Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Jul 19, 2018
1 parent ee73e4c commit 5e164a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/test_api_future.py
Expand Up @@ -52,7 +52,7 @@ def init(context):
def handle_bar(context, _):
o = buy_open(context.f1, 1)
assert_order(
o, order_book_id=context.s1, quantiy=1, status=ORDER_STATUS.FILLED, side=SIDE.BUY, position_effect=POSITION_EFFECT.OPEN
o, order_book_id=context.f1, quantity=1, status=ORDER_STATUS.FILLED, side=SIDE.BUY, position_effect=POSITION_EFFECT.OPEN
)
return init, handle_bar

Expand All @@ -66,7 +66,7 @@ def init(context):
def handle_bar(context, _):
o = sell_open(context.f1, 1)
assert_order(
o, order_book_id=context.s1, quantity=1, status=ORDER_STATUS.FILLED, side=SIDE.SELL, position_effect=POSITION_EFFECT.OPEN
o, order_book_id=context.f1, quantity=1, status=ORDER_STATUS.FILLED, side=SIDE.SELL, position_effect=POSITION_EFFECT.OPEN
)
return init, handle_bar

Expand Down

0 comments on commit 5e164a3

Please sign in to comment.