Longbridge OpenAPI C++ SDK
Public Attributes | List of all members
longbridge::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< Decimal > price
 Price. More...
 
std::optional< Decimal > trigger_price
 Trigger price. More...
 
std::optional< Decimal > limit_offset
 Limit offset. More...
 
std::optional< Decimal > trailing_amount
 Trailing amount. More...
 
std::optional< Decimal > trailing_percent
 Trailing percent. More...
 
std::optional< int32_t > limit_depth_level
 Limit depth level. More...
 
std::optional< int32_t > trigger_count
 Trigger count. More...
 
std::optional< Decimal > monitor_price
 Monitor price. More...
 
std::optional< std::string > remark
 Remark. More...
 
std::optional< ReplaceAttachedParams > attached_params
 Attached order params. More...
 
std::optional< int64_t > delayed_until
 
bool clear_delayed_until = false
 

Detailed Description

Options for replace order request.

Member Data Documentation

◆ attached_params

std::optional<ReplaceAttachedParams> longbridge::trade::ReplaceOrderOptions::attached_params

Attached order params.

◆ clear_delayed_until

bool longbridge::trade::ReplaceOrderOptions::clear_delayed_until = false

Clear the time condition, turning the order into a regular order (takes precedence over delayed_until)

◆ delayed_until

std::optional<int64_t> longbridge::trade::ReplaceOrderOptions::delayed_until

New time-condition submit time (Unix timestamp in seconds), later than now and no more than 90 days ahead; not set keeps the current time condition

◆ limit_depth_level

std::optional<int32_t> longbridge::trade::ReplaceOrderOptions::limit_depth_level

Limit depth level.

◆ limit_offset

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

Limit offset.

◆ monitor_price

std::optional<Decimal> longbridge::trade::ReplaceOrderOptions::monitor_price

Monitor price.

◆ order_id

std::string longbridge::trade::ReplaceOrderOptions::order_id

Order ID.

◆ price

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

Price.

◆ quantity

Decimal longbridge::trade::ReplaceOrderOptions::quantity

Quantity.

◆ remark

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

Remark.

◆ trailing_amount

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

Trailing amount.

◆ trailing_percent

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

Trailing percent.

◆ trigger_count

std::optional<int32_t> longbridge::trade::ReplaceOrderOptions::trigger_count

Trigger count.

◆ trigger_price

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

Trigger price.


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