LongPort OpenAPI C++ SDK
Public Attributes | List of all members
longport::trade::ReplaceOrderOptions Struct Reference

Options for replace order request. More...

#include <types.hpp>

Public Attributes

std::string order_id
 Order ID. More...
 
Decimal quantity
 Quantity. More...
 
std::optional< Decimalprice
 Price. More...
 
std::optional< Decimaltrigger_price
 Trigger price. More...
 
std::optional< Decimallimit_offset
 Limit offset. More...
 
std::optional< Decimaltrailing_amount
 Trailing amount. More...
 
std::optional< Decimaltrailing_percent
 Trailing percent. More...
 
std::optional< std::string > remark
 Remark. More...
 

Detailed Description

Options for replace order request.

Member Data Documentation

◆ limit_offset

std::optional<Decimal> longport::trade::ReplaceOrderOptions::limit_offset

Limit offset.

◆ order_id

std::string longport::trade::ReplaceOrderOptions::order_id

Order ID.

◆ price

std::optional<Decimal> longport::trade::ReplaceOrderOptions::price

Price.

◆ quantity

Decimal longport::trade::ReplaceOrderOptions::quantity

Quantity.

◆ remark

std::optional<std::string> longport::trade::ReplaceOrderOptions::remark

Remark.

◆ trailing_amount

std::optional<Decimal> longport::trade::ReplaceOrderOptions::trailing_amount

Trailing amount.

◆ trailing_percent

std::optional<Decimal> longport::trade::ReplaceOrderOptions::trailing_percent

Trailing percent.

◆ trigger_price

std::optional<Decimal> longport::trade::ReplaceOrderOptions::trigger_price

Trigger price.


The documentation for this struct was generated from the following file: