Skip to content

Commit

Permalink
fixed order bug by removing dev data
Browse files Browse the repository at this point in the history
  • Loading branch information
escomputers committed Nov 14, 2022
1 parent 6a63f0d commit 273d424
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,13 @@ def listen_to_filled_orders(message):

if order_status == 'FILLED' and side == 'BUY':
# get global variables
# order_pr = float(message['p'])
order_pr = 20763
order_pr = float(message['p'])
# order_pr = 20763

symbol = message['s']

# qty = flot(message['q'])
qty = 0.00052
qty = flot(message['q'])
# qty = 0.00052

# get LAST SYMBOL PRICE
last_pr = get_last_pr(symbol)
Expand Down

0 comments on commit 273d424

Please sign in to comment.