Thanks Bitcoin_Arena, but the issue was not about the mark price, though I gained from the article that you provided its link. The problem is that, before, if I open a position at for example $20275, it will be filled at that price, I was shocked to see the mark price at a very far lower price which was a big disadvantage for me. I moved my coins out of the exchange for now to trade on another exchange, I will later move small amount back to test if it is like that. I haven't see this before ever since I have been using OKX. I left an exchange(name withheld to avoid people not to think I am promoting the exchange) for active trading on OKX, but that has never happened to me on the former exchange before.
I have a feeling you opened an order using derivatives market price. Please confirm.
If I get you correctly, yes, a price very close to the BTC/USDT perpetual market price of bitcoin which was filled within less than 10 seconds.
You didn't open a new position, so increasing the leverage does not mean the entry price will change.
This is what I mean:
Assuming you opened a sell position with bitcoin price at $20000, the liquidation should be close to $40000. If the price of bitcoin inceeased to $25000 (that is much, but just for instance), the person is losing already and bitcoin will first have to get to $20000 and below before making profit. At bitcoin price of $25000, you can increase the leverage to 3x (my maximum leverage for bitcoin).
If increased to 3x at bitcoin price of $25000, the price you will start making profit will increase from $20000 (the price you opened a short position) to $23333.
That is $20000 + $25000 * 2 (2 from the added leverage) divided by 3 (which is the average, total leverage used) which equals to $23333.
That is what I was talking about.
If you only want your orders to execute on a specific price, use limit orders.
I have only noticed stop limit order in spot market or while closing an opened position in future market. But there is a way you can manually set the price to make it a stop limit order though. The position still took some seconds before it was opened.