In the tab, there are 2 methods that close a position using a market order.
The method closes the position in the program without sending any commands to the exchange.
The method closes absolutely all open and opening positions at the market price.
This method is designed to create fake short positions. After calling this method, the tab creates a full-fledged position.
The method does not accept any parameters and does not have a return value. Its sole task is the cancellation of conditional sell positions.
The method adds a new iceberg order to an already existing short position.
The SellAtMarketToPosition method modifies a position by adding a market sell order to the list of opening orders.
The method allows modifying an existing short position by adding a limit order to the list of opening orders.
The overloads of the SellAtStop method are designed for the deferred opening of short positions through conditional orders.
The SellAtAceberg methods are used for opening short positions, in which the opening orders are placed as iceberg orders.