Skip to content

Commit

Permalink
set price_type to right variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxxRK committed Nov 6, 2023
1 parent ccc27a4 commit 9cbc0c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firstrade/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def place_order(
else:
previewOrders = ''

if order_type == PriceType.MARKET:
if price_type == PriceType.MARKET:
price = ''

data = {
'submiturl': '/cgi-bin/orderbar',
'orderbar_clordid': '',
Expand Down

0 comments on commit 9cbc0c1

Please sign in to comment.