Hi,
What I'm doing wrong that I can't put order? I want to put reduce only market stop loss before opening normal position. I was trying multiple times with diffrent variants, but had no success. I don't get any errors. Code just stops.
symbol = "OPUSDT" # type str
stopQty = 134.9 # type Decimal
stopPrice = 2.7322000 # type Decimal
stopOrder = await self.exchange.client.futures_create_order(
symbol = symbol,
side = self.exchange.client.SIDE_SELL,
type = self.exchange.client.FUTURE_ORDER_TYPE_STOP_MARKET,
stopPrice = stopPrice,
quantity = stopQty,
workingType="MARK_PRICE",
timeInForce = 'GTC',
reduceOnly = True
)
Hi, What I'm doing wrong that I can't put order? I want to put reduce only market stop loss before opening normal position. I was trying multiple times with diffrent variants, but had no success. I don't get any errors. Code just stops.
Market info about symbol:
I will be grateful for any help. Thx
Resolved. Binance changed the rules and permissions and after I approved rules , I could switched back.