Hi. I tested it for several times and probably your entry price is not the BUY order price. Here is an example, there is no other position and open orders in this account, and rp 0.01830000 = ( 507.80 - 507.19) * 0.03.
- Sorry for missing another question, ask notional and bid notional are related to the total quantity and price of the open orders under same position at that moment. It’s not relevant to the order just changed to the filled status.
{
"o":{
"s":"BCHUSDT",
"S":"BUY",
"o":"LIMIT",
"f":"GTC",
"q":"0.030",
"p":"507.20",
"ap":"507.19000",
"sp":"0",
"x":"TRADE",
"X":"FILLED",
"l":"0.030",
"z":"0.030",
"L":"507.19",
"n":"0.00608628",
"N":"USDT",
"b":"0",
"a":"0",
"m":false,
"R":false,
"wt":"CONTRACT_PRICE",
"ot":"LIMIT",
"ps":"LONG",
"cp":false,
"rp":"0",
...
}
...
}
{
"o":{
"s":"BCHUSDT",
"S":"SELL",
"o":"LIMIT",
"f":"GTC",
"q":"0.030",
"p":"507.80",
"ap":"507.80000",
"sp":"0",
"x":"TRADE",
"X":"FILLED",
"l":"0.030",
"z":"0.030",
"L":"507.80",
"n":"0.00304680",
"N":"USDT",
"b":"0",
"a":"0",
"m":true,
"R":true,
"wt":"CONTRACT_PRICE",
"ot":"LIMIT",
"ps":"LONG",
"cp":false,
"rp":"0.01830000",
...
}
...
}