Skip to content

Instantly share code, notes, and snippets.

@jsgaston
Created February 3, 2022 22:41
Show Gist options
  • Save jsgaston/3c59c4cbe9d8390e21d530ff196e6a61 to your computer and use it in GitHub Desktop.
Save jsgaston/3c59c4cbe9d8390e21d530ff196e6a61 to your computer and use it in GitHub Desktop.
order_buy=client.futures_create_order(
symbol=symbolo,
side='BUY',
type='MARKET',
quantity=cantidad,
#reduceOnly=True
)
order_Buy_ID=order_buy['orderId']
print(order_buy)
precio=order_buy['price']
print("Order ID: " + str(order_Buy_ID))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment