|
Longbridge OpenAPI C++ SDK
|
Detail of a grid trading order. More...
#include <types.hpp>
Public Attributes | |
| std::string | order_id |
| Grid master order ID. More... | |
| std::string | symbol |
Security symbol (e.g. 700.HK) More... | |
| std::string | stock_name |
| Stock name. More... | |
| std::string | status |
| Order status. More... | |
| std::string | grid_status |
| Grid running status. More... | |
| std::string | suspend_reason |
| Suspend reason, if any. More... | |
| std::string | sleeping_reason |
| Sleeping reason, if any. More... | |
| std::optional< Decimal > | submitted_base_price |
| Submitted base price. More... | |
| std::optional< Decimal > | current_base_price |
| Current base price. More... | |
| std::optional< Decimal > | upper_limit_price |
| Upper price bound. More... | |
| std::optional< Decimal > | lower_limit_price |
| Lower price bound. More... | |
| TriggerPriceType | trigger_price_type |
| Trigger price type. More... | |
| std::optional< Decimal > | trigger_spread_up |
| Upward trigger spread. More... | |
| std::optional< Decimal > | trigger_spread_down |
| Downward trigger spread. More... | |
| std::optional< Decimal > | trigger_percent_up |
| Upward trigger percent. More... | |
| std::optional< Decimal > | trigger_percent_down |
| Downward trigger percent. More... | |
| std::optional< Decimal > | pullback_percent |
| Pullback percent. More... | |
| std::optional< Decimal > | pullback_spread |
| Pullback spread. More... | |
| std::optional< Decimal > | rebound_percent |
| Rebound percent. More... | |
| std::optional< Decimal > | rebound_spread |
| Rebound spread. More... | |
| bool | multiple_trigger |
| Whether a single grid level may trigger multiple times. More... | |
| GridTimeInForce | time_in_force |
| Time in force. More... | |
| std::optional< Decimal > | trigger_quantity |
| Quantity per trigger. More... | |
| std::optional< Decimal > | trigger_sell_quantity |
| Quantity per sell trigger. More... | |
| std::optional< Decimal > | trigger_buy_quantity |
| Quantity per buy trigger. More... | |
| std::optional< Decimal > | upper_limit_quantity |
| Quantity handled at the upper bound. More... | |
| std::optional< Decimal > | lower_limit_quantity |
| Quantity handled at the lower bound. More... | |
| GridLimitEvent | upper_limit_event |
| Action at the upper bound. More... | |
| GridLimitEvent | lower_limit_event |
| Action at the lower bound. More... | |
| int32_t | trigger_sell_depth |
| Sell-side order-book depth. More... | |
| int32_t | trigger_buy_depth |
| Buy-side order-book depth. More... | |
| std::optional< int64_t > | created_at |
| Created time (unix timestamp) More... | |
| std::optional< int64_t > | updated_at |
| Last updated time (unix timestamp) More... | |
| std::string | settlement_currency |
| Settlement currency. More... | |
| std::optional< int64_t > | expire_time |
| Expiry time (unix timestamp) More... | |
| std::string | gtd |
Expiry date (YYYY-MM-DD, GTD) More... | |
| std::vector< GridOrderSubOrder > | grid_sub_orders |
| Triggered sub-orders. More... | |
| bool | sub_has_more |
| Whether there are more sub-orders to page. More... | |
| std::vector< GridOrderHistory > | grid_order_history |
| Lifecycle history entries. More... | |
| bool | history_has_more |
| Whether there are more history entries to page. More... | |
| bool | support_shortsell |
| Whether short selling is allowed. More... | |
| int32_t | rth |
| Regular trading hours flag. More... | |
| std::string | grid_order_type_up |
Sell-side grid order type (GMO / GLO / GTG) More... | |
| std::string | grid_order_type_down |
Buy-side grid order type (GMO / GLO / GTG) More... | |
Detail of a grid trading order.
| std::optional<int64_t> longbridge::grid::GridOrderDetail::created_at |
Created time (unix timestamp)
| std::optional<Decimal> longbridge::grid::GridOrderDetail::current_base_price |
Current base price.
| std::optional<int64_t> longbridge::grid::GridOrderDetail::expire_time |
Expiry time (unix timestamp)
| std::vector<GridOrderHistory> longbridge::grid::GridOrderDetail::grid_order_history |
Lifecycle history entries.
| std::string longbridge::grid::GridOrderDetail::grid_order_type_down |
Buy-side grid order type (GMO / GLO / GTG)
| std::string longbridge::grid::GridOrderDetail::grid_order_type_up |
Sell-side grid order type (GMO / GLO / GTG)
| std::string longbridge::grid::GridOrderDetail::grid_status |
Grid running status.
| std::vector<GridOrderSubOrder> longbridge::grid::GridOrderDetail::grid_sub_orders |
Triggered sub-orders.
| std::string longbridge::grid::GridOrderDetail::gtd |
Expiry date (YYYY-MM-DD, GTD)
| bool longbridge::grid::GridOrderDetail::history_has_more |
Whether there are more history entries to page.
| GridLimitEvent longbridge::grid::GridOrderDetail::lower_limit_event |
Action at the lower bound.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::lower_limit_price |
Lower price bound.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::lower_limit_quantity |
Quantity handled at the lower bound.
| bool longbridge::grid::GridOrderDetail::multiple_trigger |
Whether a single grid level may trigger multiple times.
| std::string longbridge::grid::GridOrderDetail::order_id |
Grid master order ID.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::pullback_percent |
Pullback percent.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::pullback_spread |
Pullback spread.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::rebound_percent |
Rebound percent.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::rebound_spread |
Rebound spread.
| int32_t longbridge::grid::GridOrderDetail::rth |
Regular trading hours flag.
| std::string longbridge::grid::GridOrderDetail::settlement_currency |
Settlement currency.
| std::string longbridge::grid::GridOrderDetail::sleeping_reason |
Sleeping reason, if any.
| std::string longbridge::grid::GridOrderDetail::status |
Order status.
| std::string longbridge::grid::GridOrderDetail::stock_name |
Stock name.
| bool longbridge::grid::GridOrderDetail::sub_has_more |
Whether there are more sub-orders to page.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::submitted_base_price |
Submitted base price.
| bool longbridge::grid::GridOrderDetail::support_shortsell |
Whether short selling is allowed.
| std::string longbridge::grid::GridOrderDetail::suspend_reason |
Suspend reason, if any.
| std::string longbridge::grid::GridOrderDetail::symbol |
Security symbol (e.g. 700.HK)
| GridTimeInForce longbridge::grid::GridOrderDetail::time_in_force |
Time in force.
| int32_t longbridge::grid::GridOrderDetail::trigger_buy_depth |
Buy-side order-book depth.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_buy_quantity |
Quantity per buy trigger.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_percent_down |
Downward trigger percent.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_percent_up |
Upward trigger percent.
| TriggerPriceType longbridge::grid::GridOrderDetail::trigger_price_type |
Trigger price type.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_quantity |
Quantity per trigger.
| int32_t longbridge::grid::GridOrderDetail::trigger_sell_depth |
Sell-side order-book depth.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_sell_quantity |
Quantity per sell trigger.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_spread_down |
Downward trigger spread.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::trigger_spread_up |
Upward trigger spread.
| std::optional<int64_t> longbridge::grid::GridOrderDetail::updated_at |
Last updated time (unix timestamp)
| GridLimitEvent longbridge::grid::GridOrderDetail::upper_limit_event |
Action at the upper bound.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::upper_limit_price |
Upper price bound.
| std::optional<Decimal> longbridge::grid::GridOrderDetail::upper_limit_quantity |
Quantity handled at the upper bound.