Skip to content

Commit

Permalink
fix mock broker
Browse files Browse the repository at this point in the history
  • Loading branch information
r0fls committed Jul 23, 2024
1 parent f514e68 commit 68d41f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_brokers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def _get_account_info(self):
def _place_option_order(self, symbol, quantity, order_type, price=None):
return {'status': 'filled', 'filled_price': 150.0}

def _place_future_option_order(self, symbol, quantity, order_type, price=None):
return {'status': 'filled', 'filled_price': 150.0}

def _place_order(self, symbol, quantity, order_type, price=None):
return {'status': 'filled', 'filled_price': 150.0}

Expand Down

0 comments on commit 68d41f4

Please sign in to comment.