UpdateFixedMarginTradeOrderRequestDTO¶
stonepy.models.UpdateFixedMarginTradeOrderRequestDTO.UpdateFixedMarginTradeOrderRequestDTO
¶
Bases: RequestModel
A request to add a closing order to an open fixed margin position, or update an existing closing order attached to an open fixed margin position.
trading_account_id
class-attribute
instance-attribute
¶
The ID of the trading account.
market_id
class-attribute
instance-attribute
¶
The unique identifier for a market.
order_id
class-attribute
instance-attribute
¶
Unique identifier for the order.
take_profit_price
class-attribute
instance-attribute
¶
The optional price at which the trade is closed to take profits.
stop_loss_price
class-attribute
instance-attribute
¶
The optional market price at which the stop loss is triggered.
trailing_stop_distance
class-attribute
instance-attribute
¶
The distance away from the current market price that the stop loss should maintain if it is a trailing stop loss order.