------------------------------------------------------------------------------------------------------------------
https://accounts.binance.com/register?ref=21391362 <- Get Discount on Binance Futures Fees With Referral Code
Referral Code : 21391362
------------------------------------------------------------------------------------------------------------------
You can import information about orders that are being reserved or concluded from the order book. You can use this order information to submit additional orders, cancel unnecessary orders, etc.
The get_open_orders method gets information about the currently booked orders.
A limit order is placed on a buy order. orderId and status are important. You can use them to continuously monitor the status of the current order, submit additional orders or cancel orders.
The get_order method gets the current order information. Coin name and orderId value are required.
As an example above, we will give the order number obtained from the get_open_orders method as an argument. You can check that the current order is in reservation status.
Let's put the executed order number. You can confirm that it is fastened with FILLED.
The cancel_order method is when canceling a reserved order.
You can check the CANCELED status by checking the get_order method.
full source code
https://github.com/kivy678/BitcoinTrade/blob/main/order.py
------------------------------------------------------------------------------------------------------------------
https://accounts.binance.com/register?ref=21391362 <- Get Discount on Binance Futures Fees With Referral Code
Referral Code : 21391362
------------------------------------------------------------------------------------------------------------------