89 inline SubFlags(uint8_t value) { value_ = value; }
91 inline operator uint8_t()
const {
return value_; }
95 return SubFlags(value_ | other.value_);
100 value_ |= other.value_;
106 return SubFlags(value_ & other.value_);
111 value_ &= other.value_;
117 return value_ == other.value_;
122 return (value_ & other.value_) > 0;
881 std::optional<std::string>
name;
1354 std::vector<ShortPositionsItem>
data;
1409 std::vector<OptionVolumeDailyStat>
stats;
1787 std::vector<MultiLegOrderLeg>
legs;
1925 std::optional<std::vector<OrderStatus>>
status;
1942 std::optional<std::vector<OrderStatus>>
status;
2068 std::vector<SubmitMultiLegOrderLeg>
legs;
3312 std::vector<BrokerHoldingEntry>
buy;
3313 std::vector<BrokerHoldingEntry>
sell;
3340 std::vector<BrokerHoldingDetailItem>
list;
3356 std::vector<BrokerHoldingDailyItem>
list;
3551 namespace fundamental {
3722 std::optional<ValuationMetricData>
pe;
3723 std::optional<ValuationMetricData>
pb;
3724 std::optional<ValuationMetricData>
ps;
3737 std::optional<ValuationMetricData>
pe;
3738 std::optional<ValuationMetricData>
pb;
3739 std::optional<ValuationMetricData>
ps;
3960 std::vector<IndustryValuationItem>
list;
3978 std::optional<ValuationDist>
pe;
3979 std::optional<ValuationDist>
pb;
3980 std::optional<ValuationDist>
ps;
4149 std::vector<InstitutionRatingViewItem>
elist;
4200 std::optional<IndustryPeersTop>
top;
4231 std::optional<SnapshotForecastMetric>
fo_eps;
4279 std::vector<ValuationComparisonItem>
list;
4346 std::vector<AssetAllocationGroup>
info;
4564 namespace sharelist {
5490 std::optional<std::string>
end;
5503 std::optional<std::string>
end;
5608 std::optional<std::string>
fee;
5757 std::vector<FundAssetAllocationItem>
lists;
Definition: decimal.hpp:13
Subscription flags.
Definition: types.hpp:84
bool operator==(const SubFlags &other) const
Definition: types.hpp:115
SubFlags(uint8_t value)
Definition: types.hpp:89
SubFlags & operator|=(const SubFlags &other)
Definition: types.hpp:98
SubFlags operator&(const SubFlags &other) const
Definition: types.hpp:104
bool contains(const SubFlags &other) const
Definition: types.hpp:120
SubFlags operator|(const SubFlags &other) const
Definition: types.hpp:93
SubFlags & operator&=(const SubFlags &other)
Definition: types.hpp:109
ConversationStatus
Final run status of a conversation.
Definition: types.hpp:4803
@ Interrupted
The run is paused, waiting for AgentContext::continue_conversation.
@ Succeeded
The run completed successfully.
@ Stopped
The run was stopped.
ConversationStreamEventKind
Definition: types.hpp:5255
@ HumanInteractionRequired
@ Message
An incremental piece of the answer; message is populated.
@ ContextCompressFinished
@ ThinkingFinished
The reasoning phase is over; thinking_finished is populated.
@ ChatStarted
The run has started; chat_started is populated.
DCAStatus
DCA plan status.
Definition: types.hpp:4429
DCAFrequency
DCA investment frequency.
Definition: types.hpp:4420
InstitutionRecommend
Institutional analyst recommendation.
Definition: types.hpp:3555
ElementType
ETF asset allocation element type.
Definition: types.hpp:4284
TriggerPriceType
How grid trigger thresholds are interpreted (wire: int32_t).
Definition: types.hpp:2537
@ Spread
Trigger by absolute price spread.
@ Unknown
Unknown / unset.
@ Percent
Trigger by percent.
GridTimeInForce
Definition: types.hpp:2549
@ GoodTilDate
Good-til-date.
@ GoodTilCanceled
Good-til-canceled.
GridLimitEvent
Action taken when a grid boundary is reached (wire: int32_t).
Definition: types.hpp:2560
@ CloseAtLast
Close the position at the last price.
@ Unknown
Unknown / unset.
@ Ignore
Ignore — keep the grid running.
WarrantSortBy
Warrant sort by.
Definition: types.hpp:1102
@ LeverageRatio
Leverage ratio.
@ LowerStrikePrice
Lower strike price.
@ EffectiveLeverage
Effective leverage.
@ ConversionRatio
Conversion ratio.
@ ItmOtm
In/out of the bound.
@ StrikePrice
Strike price.
@ BalancePoint
Breakeven point.
@ ToCallPrice
Price interval from the call price.
@ ChangeValue
Change value.
@ ImpliedVolatility
Implied volatility.
@ Delta
Greek value Delta.
@ OutstandingRatio
Outstanding ratio.
@ OutstandingQuantity
Outstanding quantity.
@ UpperStrikePrice
Upper strike price.
TradeSessions
Trade sessions.
Definition: types.hpp:1266
SecuritiesUpdateMode
Securities update mode.
Definition: types.hpp:857
OptionDirection
Option direction.
Definition: types.hpp:478
Period
Candlestick period.
Definition: types.hpp:142
@ Min45
Forty-Five Minutes.
TradeSession
Trade session.
Definition: types.hpp:196
SecurityBoard
Security board.
Definition: types.hpp:281
@ STI
Singapore Straits Index.
@ USSector
US Industry Board.
@ HKPreIPO
HK PreIPO Security.
@ SHSTAR
SH Science and Technology Innovation Board.
@ SZMainNonConnect
SZ Main Board(Non Connect)
@ HKSector
HK Industry Board.
@ SZGEMNonConnect
SZ Gem Board(Non Connect)
@ SZMainConnect
SZ Main Board(Connect)
@ SHMainNonConnect
SH Main Board(Non Connect)
@ SHMainConnect
SH Main Board(Connect)
@ SZGEMConnect
SZ Gem Board(Connect)
@ USOptionS
US Sepecial Option.
@ SGSector
SG Industry Board.
@ HKEquity
Hong Kong Equity Securities.
@ USDJI
Dow Jones Industrial Average.
@ VIXIndex
CBOE Volatility Index.
@ CNSector
CN Industry Board.
FilterWarrantInOutBoundsType
Filter warrant in/out of the bounds type.
Definition: types.hpp:1164
TradeStatus
Trade status.
Definition: types.hpp:390
@ PrepareList
Papare List.
@ ToBeOpened
To Be Opened.
@ SplitStockHalts
Split Stock Halts.
@ WarrantPrepareList
Warrant To BeListed.
AdjustType
Adjust type.
Definition: types.hpp:728
OptionStandardAttr
Definition: types.hpp:503
@ Normal
A normal, active contract.
@ Old
A legacy contract produced by a corporate action.
TradeDirection
Trade direction.
Definition: types.hpp:558
WarrantType
Warrant type.
Definition: types.hpp:623
Granularity
Data granularity.
Definition: types.hpp:1290
@ Unknown
Unknown.
Definition: types.hpp:1292
@ Monthly
Monthly.
Definition: types.hpp:1298
@ Weekly
Weekly.
Definition: types.hpp:1296
@ Daily
Daily.
Definition: types.hpp:1294
SecurityListCategory
Security list category.
Definition: types.hpp:1244
WarrantStatus
Warrant status.
Definition: types.hpp:1173
@ PrepareList
Prepare List.
CalcIndex
Calc index.
Definition: types.hpp:913
@ OutstandingQty
Outstanding quantity.
@ TenDayChangeRate
Ten days change ratio.
@ LeverageRatio
Leverage ratio.
@ LowerStrikePrice
Lower bound price.
@ EffectiveLeverage
Effective leverage.
@ ConversionRatio
Conversion ratio.
@ WarrantDelta
Warrant delta.
@ DividendRatioTtm
Dividend ratio (TTM)
@ ItmOtm
In/out of the bound.
@ CapitalFlow
Capital flow.
@ YtdChangeRate
Year-to-date change ratio.
@ FiveDayChangeRate
Five days change ratio.
@ StrikePrice
Strike price.
@ BalancePoint
Breakeven point.
@ ToCallPrice
Price interval from the call price.
@ TotalMarketValue
Total market value.
@ ChangeValue
Change value.
@ HalfYearChangeRate
Half year change ratio.
@ TurnoverRate
Turnover rate.
@ ImpliedVolatility
Implied volatility.
@ OutstandingRatio
Outstanding ratio.
@ FiveMinutesChangeRate
Five minutes change ratio.
@ UpperStrikePrice
Upper bound price.
@ VolumeRatio
Volume ratio.
@ OpenInterest
Open interest.
OptionExpiryCycleType
Special expiration cycle of an option contract.
Definition: types.hpp:489
@ Quarterly
Quarterly option, expires quarterly.
SortOrderType
Sort order type.
Definition: types.hpp:1093
OptionType
Option type.
Definition: types.hpp:467
FilterWarrantExpiryDate
Filter warrant expiry date type.
Definition: types.hpp:1151
@ Between_6_12
6 - 12 months
@ Between_3_6
3 - 6 months
@ GT_12
Greater than 12 months.
@ LT_3
Less than 3 months.
ContractDirection
Option contract type.
Definition: types.hpp:1747
OrderTag
Order tag.
Definition: types.hpp:1570
@ LongTerm
Long term Order.
CashFlowDirection
Cash flow direction.
Definition: types.hpp:2135
OutsideRTH
Enable or disable outside regular trading hours.
Definition: types.hpp:1609
@ RTHOnly
Regular trading hour only.
@ OptionPreMarket
Overnight option.
TriggerStatus
Trigger status.
Definition: types.hpp:1596
TopicType
Topic type.
Definition: types.hpp:1418
@ Private
Private notification for trade.
BalanceType
Balance type.
Definition: types.hpp:2146
DeductionStatus
Deduction status.
Definition: types.hpp:2305
AttachedOrderType
Attached order type.
Definition: types.hpp:1624
@ ProfitTaker
Take profit.
OrderSide
Order side.
Definition: types.hpp:1425
CommissionFreeStatus
Commission-free Status.
Definition: types.hpp:2295
ChargeCategoryCode
Charge category code.
Definition: types.hpp:2315
OrderStatus
Order status.
Definition: types.hpp:1494
@ PartialWithdrawal
Partial Withdrawal.
@ ReplacedNotReported
Not reported (Replaced Order)
@ PendingCancel
Pending Cancel.
@ WaitToReplace
Wait To Replace.
@ PartialFilled
Partial Filled.
@ PendingReplace
Pending Replace.
@ VarietiesNotReported
Not reported (Conditional Order)
@ NotReported
Not reported.
@ WaitToCancel
Wait To Cancel.
@ DelayedNotReported
Monitoring (Time-Conditional Order)
@ ProtectedNotReported
Not reported (Protected Order)
OrderType
Order type.
Definition: types.hpp:1537
@ TSLPAMT
Trailing Limit If Touched (Trailing Amount)
@ ALO
At-auction Limit Order.
@ SLO
Special Limit Order.
@ TSMAMT
Trailing Market If Touched (Trailing Amount)
@ ELO
Enhanced Limit Order.
@ TSLPPCT
Trailing Limit If Touched (Trailing Percent)
@ TSMPCT
Trailing Market If Touched (Trailing Percent)
MultiLegPosition
Multi-leg position direction.
Definition: types.hpp:1736
MultiLegStrategy
Multi-leg strategy.
Definition: types.hpp:1711
@ CoveredPut
Covered put (covered stock)
@ VerticalCallSpread
Vertical call spread.
@ CalendarCallSpread
Calendar call spread.
@ CalendarPutSpread
Calendar put spread.
@ VerticalPutSpread
Vertical put spread.
@ CoveredCall
Covered call (covered stock)
TimeInForceType
Time in force Type.
Definition: types.hpp:1583
@ GoodTilDate
Good Til Date Order.
@ GoodTilCanceled
Good Til Canceled Order.
Definition: agent_context.hpp:13
QuoteTransport
Transport used by the quote pull APIs.
Definition: types.hpp:52
@ WebSocket
Send pull requests over the quote WebSocket connection (default)
PushCandlestickMode
Push candlestick mode.
Definition: types.hpp:43
Market
Market.
Definition: types.hpp:63
Language
Language identifer.
Definition: types.hpp:32
uint8_t day
Definition: types.hpp:14
uint8_t month
Definition: types.hpp:13
int32_t year
Definition: types.hpp:12
Time time
Definition: types.hpp:27
Date date
Definition: types.hpp:26
uint8_t second
Definition: types.hpp:21
uint8_t minute
Definition: types.hpp:20
uint8_t hour
Definition: types.hpp:19
Present when a conversation run failed.
Definition: types.hpp:4794
int32_t code
Error code.
Definition: types.hpp:4796
std::string message
Error message.
Definition: types.hpp:4798
An Agent in a Workspace.
Definition: types.hpp:4677
int64_t created_at
Creation time, Unix timestamp in seconds.
Definition: types.hpp:4693
int64_t published_at
Publish time, Unix timestamp in seconds; 0 if unpublished.
Definition: types.hpp:4691
bool is_published
Whether published; only published Agents can start conversations.
Definition: types.hpp:4689
std::string mode
Agent mode, e.g. "chat".
Definition: types.hpp:4685
std::string icon
Icon URL.
Definition: types.hpp:4687
int64_t updated_at
Last updated time, Unix timestamp in seconds.
Definition: types.hpp:4695
std::string description
Agent description.
Definition: types.hpp:4683
std::string uid
Agent UID, used as the path parameter of AgentContext::conversation.
Definition: types.hpp:4679
std::string name
Agent name.
Definition: types.hpp:4681
Response for AgentContext::agents.
Definition: types.hpp:4700
int32_t total
Total number of matching Agents.
Definition: types.hpp:4704
std::vector< Agent > agents
Agent list.
Definition: types.hpp:4702
Definition: types.hpp:5221
std::string error
Empty string in every run observed so far.
Definition: types.hpp:5229
std::string chat_uid
Conversation identifier.
Definition: types.hpp:5225
std::string error_message
Empty string in every run observed so far.
Definition: types.hpp:5231
std::string message_id
Message ID of this round.
Definition: types.hpp:5227
int64_t chat_id
ID of the owning conversation.
Definition: types.hpp:5223
Payload of a ChatStarted conversation stream event.
Definition: types.hpp:4841
std::string chat_uid
Conversation identifier.
Definition: types.hpp:4843
std::string error_message
Error message; empty when absent.
Definition: types.hpp:4851
std::string message_id
Message ID of this round.
Definition: types.hpp:4847
int64_t chat_id
Numeric conversation identifier.
Definition: types.hpp:4845
std::string error
Error code; empty when absent.
Definition: types.hpp:4849
Definition: types.hpp:5239
std::string title
The new (possibly truncated) title.
Definition: types.hpp:5247
int64_t chat_id
ID of the owning conversation.
Definition: types.hpp:5241
std::string source
Where the title came from, e.g. "ai_generated".
Definition: types.hpp:5245
std::string chat_uid
Conversation identifier.
Definition: types.hpp:5243
int64_t updated_at
Unix timestamp in seconds.
Definition: types.hpp:5249
Definition: types.hpp:5208
std::string inputs_json
Compression input summary, as a JSON string; empty when absent.
Definition: types.hpp:5212
std::string created_at
Finish time, RFC 3339.
Definition: types.hpp:5210
std::string outputs_json
Compression result summary, as a JSON string; empty when absent.
Definition: types.hpp:5214
Definition: types.hpp:5198
std::string started_at
Start time, RFC 3339.
Definition: types.hpp:5200
std::string inputs_json
Compression input summary, as a JSON string; empty when absent.
Definition: types.hpp:5202
Definition: types.hpp:4817
std::string chat_uid
Definition: types.hpp:4820
std::optional< Interrupt > interrupt
Present only when status is ConversationStatus::Interrupted.
Definition: types.hpp:4834
ConversationStatus status
Final run status.
Definition: types.hpp:4824
std::vector< Reference > references
Sources referenced by the answer.
Definition: types.hpp:4828
double elapsed_time
Run duration in seconds.
Definition: types.hpp:4832
std::string message_id
Message ID of this round.
Definition: types.hpp:4822
std::vector< std::string > further_questions
Suggested follow-up questions ("you might also ask"); empty when absent.
Definition: types.hpp:4830
std::optional< AgentError > error
Present only when the run failed.
Definition: types.hpp:4836
std::string answer
Final answer text; valid when status is ConversationStatus::Succeeded.
Definition: types.hpp:4826
Definition: types.hpp:5338
ConversationStreamEventKind kind
Discriminant, tells you which field below is populated.
Definition: types.hpp:5340
std::optional< NodeToolUseFinishedPayload > node_tool_use_finished
Definition: types.hpp:5359
std::optional< ThinkingStartedPayload > thinking_started
Definition: types.hpp:5350
std::optional< ConversationResponse > workflow_finished
Definition: types.hpp:5403
std::optional< ConversationResponse > human_interaction_required
Definition: types.hpp:5382
std::optional< AgentToolProgressPayload > agent_tool_progress
Definition: types.hpp:5374
std::optional< WorkflowStartedPayload > workflow_started
Definition: types.hpp:5345
std::optional< ChatStartedPayload > chat_started
Populated when kind is ChatStarted
Definition: types.hpp:5342
std::optional< SubagentStartedPayload > subagent_started
Definition: types.hpp:5362
std::optional< ContextCompressStartedPayload > context_compress_started
Definition: types.hpp:5391
std::optional< NodeToolUseStartedPayload > node_tool_use_started
Definition: types.hpp:5356
std::optional< PlanChangedPayload > plan_changed
Definition: types.hpp:5388
std::optional< ThinkingFinishedPayload > thinking_finished
Definition: types.hpp:5353
std::optional< MessagePayload > message
Populated when kind is Message
Definition: types.hpp:5347
std::optional< std::string > other_json
Definition: types.hpp:5412
std::optional< SubagentProgressPayload > subagent_progress
Definition: types.hpp:5365
std::optional< AgentToolStartedPayload > agent_tool_started
Definition: types.hpp:5371
std::optional< std::string > other_event
Definition: types.hpp:5409
std::optional< ContextCompressFinishedPayload > context_compress_finished
Definition: types.hpp:5394
std::optional< AgentToolFinishedPayload > agent_tool_finished
Definition: types.hpp:5377
std::optional< ChatTitleUpdatedPayload > chat_title_updated
Definition: types.hpp:5406
std::optional< ChatFinishedPayload > chat_finished
Definition: types.hpp:5397
std::optional< QueryMaskedPayload > query_masked
Definition: types.hpp:5385
std::optional< SubagentFinishedPayload > subagent_finished
Definition: types.hpp:5368
Options for AgentContext::agents (all fields optional).
Definition: types.hpp:4709
std::optional< int32_t > page
Page number, starts at 1.
Definition: types.hpp:4711
std::optional< int32_t > limit
Page size.
Definition: types.hpp:4713
std::optional< std::string > name
Fuzzy search by Agent name.
Definition: types.hpp:4715
A single interaction requested while an Agent workflow is paused.
Definition: types.hpp:4759
std::string interaction_type
Interaction type such as ask_human or trade_password
Definition: types.hpp:4765
std::string tool_args_json
Original tool arguments as a JSON string; empty when absent.
Definition: types.hpp:4771
std::string tool_call_id
Tool call that requested the interaction.
Definition: types.hpp:4761
std::string tool_name
Human-readable tool name.
Definition: types.hpp:4767
std::vector< Question > questions
Questions and answer options presented to the user.
Definition: types.hpp:4769
std::string interrupt_id
Stable key expected by the answers map when continuing.
Definition: types.hpp:4763
Definition: types.hpp:4777
int64_t chat_id
ID of the owning conversation.
Definition: types.hpp:4789
std::string tool_call_id
Tool call ID of this inquiry; used as the answer key when continuing.
Definition: types.hpp:4781
int64_t message_id
ID of the paused message.
Definition: types.hpp:4787
std::vector< HumanInteraction > interactions
Full interaction descriptors used to render and answer the pause.
Definition: types.hpp:4785
std::string node_id
ID of the node that triggered the interrupt.
Definition: types.hpp:4779
std::vector< Question > questions
Questions you need to answer.
Definition: types.hpp:4783
Definition: types.hpp:4858
std::string stage_title
Definition: types.hpp:4874
std::string outputs_json
Definition: types.hpp:4880
std::string stage_finished_title
Definition: types.hpp:4877
std::string message_type
Definition: types.hpp:4863
std::string stage
Stage identifier; only present when message_type is "process".
Definition: types.hpp:4871
std::string text
Incremental text fragment.
Definition: types.hpp:4860
std::string key
Definition: types.hpp:4867
int64_t started_at
Time this segment started, Unix timestamp in seconds.
Definition: types.hpp:4869
Definition: types.hpp:5182
std::string outputs_json
The current plan content, as a JSON string; empty when absent.
Definition: types.hpp:5188
std::string tool_name
Identifies the planning tool.
Definition: types.hpp:5190
int64_t started_at
Time of the change, Unix timestamp in seconds.
Definition: types.hpp:5186
std::string node_id
ID of the planning node.
Definition: types.hpp:5184
Definition: types.hpp:5172
std::string masked_query
The masked query.
Definition: types.hpp:5176
std::string raw_query
The original user query.
Definition: types.hpp:5174
One question the Agent needs you to answer.
Definition: types.hpp:4748
bool multi_select
Whether multiple options may be selected.
Definition: types.hpp:4754
std::string question
Question text.
Definition: types.hpp:4750
std::vector< QuestionOption > options
Options; empty means free-form answer.
Definition: types.hpp:4752
One option of a Question.
Definition: types.hpp:4739
std::string description
Option text.
Definition: types.hpp:4743
std::string label
Short UI label for the option.
Definition: types.hpp:4741
A source referenced by the answer.
Definition: types.hpp:4720
int32_t original_index
Original reference index as provided by the source.
Definition: types.hpp:4724
std::string content_json
Full nested reference payload, as a JSON string; empty when absent.
Definition: types.hpp:4734
std::string title
Reference title.
Definition: types.hpp:4730
std::string ref_type
Reference type (wire field type)
Definition: types.hpp:4726
std::string id
Reference identifier.
Definition: types.hpp:4728
int32_t index
Reference index.
Definition: types.hpp:4722
std::string url
Reference URL.
Definition: types.hpp:4732
Payload of a SubagentFinished conversation stream event.
Definition: types.hpp:5069
std::string status
succeeded / failed
Definition: types.hpp:5075
std::string node_id
ID of the node that spawned the subagent.
Definition: types.hpp:5071
SubagentOutputs outputs
Subagent result: goal, result, and the timeline of tool calls it made.
Definition: types.hpp:5083
std::string error
Error description on failure.
Definition: types.hpp:5081
std::string tool_use_id
Matches the tool_use_id of SubagentStarted.
Definition: types.hpp:5073
double elapsed_time
Total subagent duration in seconds.
Definition: types.hpp:5079
int64_t started_at
Start time, Unix timestamp in seconds.
Definition: types.hpp:5077
outputs of a SubagentFinished conversation stream event.
Definition: types.hpp:5057
std::string result
The subagent's result; empty when absent.
Definition: types.hpp:5061
std::string goal
The goal that was assigned to the subagent; empty when absent.
Definition: types.hpp:5059
std::string subagent_tools_json
Definition: types.hpp:5064
Definition: types.hpp:5036
std::string subagent_tool_name
Name of the tool the subagent called.
Definition: types.hpp:5042
std::string subagent_status
Status of that call: running / succeeded / failed.
Definition: types.hpp:5046
std::string subagent_tool_args
Arguments of that call, as a JSON string.
Definition: types.hpp:5044
int32_t subagent_iteration
The subagent's internal round number.
Definition: types.hpp:5050
std::string node_id
ID of the node that spawned the subagent.
Definition: types.hpp:5038
int64_t started_at
Start time, Unix timestamp in seconds.
Definition: types.hpp:5052
std::string parent_tool_call_id
tool_use_id of the owning SubagentStarted event
Definition: types.hpp:5040
int64_t subagent_duration_ms
Duration of that call in milliseconds.
Definition: types.hpp:5048
Definition: types.hpp:5014
std::string tool_use_id
Unique ID of this spawn; matches the finished event.
Definition: types.hpp:5018
int64_t started_at
Start time, Unix timestamp in seconds.
Definition: types.hpp:5020
std::string prompt
Full task prompt given to the subagent.
Definition: types.hpp:5024
std::string tools_json
Definition: types.hpp:5029
std::string subagent_id
Subagent identifier; may be empty.
Definition: types.hpp:5026
std::string goal
Goal assigned to the subagent.
Definition: types.hpp:5022
std::string node_id
ID of the node that spawned the subagent.
Definition: types.hpp:5016
Definition: types.hpp:4924
int32_t elapsed_time
Reasoning duration in seconds.
Definition: types.hpp:4928
int64_t finished_at
Finish time, Unix timestamp in seconds.
Definition: types.hpp:4926
Definition: types.hpp:4915
int64_t started_at
Start time, Unix timestamp in seconds.
Definition: types.hpp:4917
Definition: types.hpp:4899
int64_t workflow_id
Internal workflow run ID.
Definition: types.hpp:4907
int64_t started_at
Unix timestamp in seconds.
Definition: types.hpp:4905
WorkflowStartedInputs inputs
Echoes the run's inputs.
Definition: types.hpp:4903
bool hit_cache
Whether this run's answer was served from a cache.
Definition: types.hpp:4901
A Workspace the current account belongs to.
Definition: types.hpp:4657
std::string name
Workspace name.
Definition: types.hpp:4661
int64_t created_at
Creation time, Unix timestamp in seconds.
Definition: types.hpp:4663
std::string id
Workspace ID.
Definition: types.hpp:4659
int64_t updated_at
Last updated time, Unix timestamp in seconds.
Definition: types.hpp:4665
Response for AgentContext::workspaces.
Definition: types.hpp:4670
std::vector< Workspace > workspaces
Workspaces the current account belongs to.
Definition: types.hpp:4672
Definition: types.hpp:4365
int32_t scope
Scope.
Definition: types.hpp:4375
int32_t frequency
Trigger frequency: 1=daily, 2=every_time, 3=once.
Definition: types.hpp:4373
std::string id
Alert ID.
Definition: types.hpp:4367
std::string indicator_id
Condition: "1"=price_rise, "2"=price_fall, "3"=pct_rise, "4"=pct_fall.
Definition: types.hpp:4369
AlertValueMap value_map
Trigger threshold.
Definition: types.hpp:4381
bool enabled
Whether the alert is currently active.
Definition: types.hpp:4371
std::string text
Human-readable description of the trigger condition.
Definition: types.hpp:4377
std::vector< int32_t > state
Trigger state flags.
Definition: types.hpp:4379
Response for AlertContext::list — alerts grouped by security.
Definition: types.hpp:4409
std::vector< AlertSymbolGroup > lists
Alert groups, one per security.
Definition: types.hpp:4411
All price alerts for one security.
Definition: types.hpp:4386
std::string p_chg
Day change percentage.
Definition: types.hpp:4400
std::vector< AlertItem > indicators
Alert items for this security.
Definition: types.hpp:4404
std::string name
Security name.
Definition: types.hpp:4394
std::string code
Ticker code (without market)
Definition: types.hpp:4390
std::string market
Market, e.g. "HK".
Definition: types.hpp:4392
std::string chg
Day change amount.
Definition: types.hpp:4398
std::string price
Latest price.
Definition: types.hpp:4396
std::string product
Product type (may be empty)
Definition: types.hpp:4402
std::string symbol
Security symbol.
Definition: types.hpp:4388
Definition: types.hpp:4357
std::optional< double > chg
Percentage-change threshold (nullopt if not set)
Definition: types.hpp:4361
std::string price
Absolute price threshold as a decimal string (empty if not set)
Definition: types.hpp:4359
Options for creating a topic.
Definition: types.hpp:3264
std::vector< std::string > tickers
Related stock tickers, format: {symbol}.{market}, max 10.
Definition: types.hpp:3272
std::string body
Topic body in Markdown format (required)
Definition: types.hpp:3268
std::string title
Topic title (required)
Definition: types.hpp:3266
std::vector< std::string > hashtags
Hashtag names, max 5.
Definition: types.hpp:3274
std::string topic_type
Content type: "article" or "post" (empty = default "post")
Definition: types.hpp:3270
Options for listing topics created by the current authenticated user.
Definition: types.hpp:3253
int32_t page
Page number (0 = default 1)
Definition: types.hpp:3255
int32_t size
Records per page, range 1~500 (0 = default 50)
Definition: types.hpp:3257
std::string topic_type
Filter by content type: "article" or "post" (empty = all)
Definition: types.hpp:3259
News item.
Definition: types.hpp:3173
std::string title
Title.
Definition: types.hpp:3177
int32_t likes_count
Likes count.
Definition: types.hpp:3187
std::string url
URL.
Definition: types.hpp:3181
int32_t shares_count
Shares count.
Definition: types.hpp:3189
std::string description
Description.
Definition: types.hpp:3179
int32_t comments_count
Comments count.
Definition: types.hpp:3185
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:3183
std::string id
News ID.
Definition: types.hpp:3175
My topic item (created by the current authenticated user)
Definition: types.hpp:3216
std::vector< std::string > hashtags
Hashtag names.
Definition: types.hpp:3230
int32_t comments_count
Comments count.
Definition: types.hpp:3236
std::string title
Title.
Definition: types.hpp:3220
int32_t views_count
Views count.
Definition: types.hpp:3238
std::string id
Topic ID.
Definition: types.hpp:3218
int64_t updated_at
Updated time (Unix timestamp)
Definition: types.hpp:3248
std::vector< std::string > tickers
Related stock tickers.
Definition: types.hpp:3228
int64_t created_at
Created time (Unix timestamp)
Definition: types.hpp:3246
std::string description
Plain text excerpt.
Definition: types.hpp:3222
int32_t shares_count
Shares count.
Definition: types.hpp:3240
std::vector< TopicImage > images
Images.
Definition: types.hpp:3232
int32_t likes_count
Likes count.
Definition: types.hpp:3234
std::string detail_url
URL to the full topic page.
Definition: types.hpp:3244
std::string topic_type
Content type: "article" or "post".
Definition: types.hpp:3242
TopicAuthor author
Author.
Definition: types.hpp:3226
std::string body
Markdown body.
Definition: types.hpp:3224
Topic author.
Definition: types.hpp:3194
std::string member_id
Member ID.
Definition: types.hpp:3196
std::string avatar
Avatar URL.
Definition: types.hpp:3200
std::string name
Display name.
Definition: types.hpp:3198
Topic image.
Definition: types.hpp:3205
std::string lg
Large image URL.
Definition: types.hpp:3211
std::string url
Original image URL.
Definition: types.hpp:3207
std::string sm
Small thumbnail URL.
Definition: types.hpp:3209
Topic item.
Definition: types.hpp:3152
std::string url
URL.
Definition: types.hpp:3160
int32_t likes_count
Likes count.
Definition: types.hpp:3166
std::string description
Description.
Definition: types.hpp:3158
std::string title
Title.
Definition: types.hpp:3156
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:3162
int32_t shares_count
Shares count.
Definition: types.hpp:3168
std::string id
Topic ID.
Definition: types.hpp:3154
int32_t comments_count
Comments count.
Definition: types.hpp:3164
Response for DCAContext::calc_date — next projected trade date.
Definition: types.hpp:4528
std::string trade_date
Next projected trade date (unix timestamp string)
Definition: types.hpp:4530
Response for DCAContext::create_dca and DCAContext::update_dca.
Definition: types.hpp:4535
std::string plan_id
The plan ID of the created or updated DCA plan.
Definition: types.hpp:4537
One DCA execution history record.
Definition: types.hpp:4542
std::string order_id
Definition: types.hpp:4544
std::string action
Definition: types.hpp:4546
std::string order_type
Definition: types.hpp:4547
std::string created_at
Definition: types.hpp:4543
std::string rejected_reason
Definition: types.hpp:4551
std::string executed_price
Definition: types.hpp:4549
std::string executed_amount
Definition: types.hpp:4550
std::string symbol
Definition: types.hpp:4552
std::string executed_qty
Definition: types.hpp:4548
std::string status
Definition: types.hpp:4545
Paginated DCA execution history response.
Definition: types.hpp:4557
bool has_more
Definition: types.hpp:4559
std::vector< DcaHistoryRecord > records
Definition: types.hpp:4558
Response for DCAContext::list and write operations.
Definition: types.hpp:4486
std::vector< DcaPlan > plans
DCA plans.
Definition: types.hpp:4488
One DCA (dollar-cost averaging) investment plan.
Definition: types.hpp:4437
std::string updated_at
Last updated time.
Definition: types.hpp:4469
std::string average_cost
Average cost.
Definition: types.hpp:4479
DCAFrequency invest_frequency
Investment frequency.
Definition: types.hpp:4457
std::string aaid
Account ID.
Definition: types.hpp:4447
std::string next_trd_date
Next investment date.
Definition: types.hpp:4471
std::string cum_amount
Cumulative invested amount.
Definition: types.hpp:4475
std::string invest_day_of_week
Day of week for weekly plans (e.g. "Mon")
Definition: types.hpp:4459
std::string stock_name
Security name.
Definition: types.hpp:4473
std::string alter_hours
Advance reminder hours ("1", "6", or "12")
Definition: types.hpp:4465
bool allow_margin_finance
Whether margin finance is allowed.
Definition: types.hpp:4463
std::string symbol
Security symbol.
Definition: types.hpp:4443
DCAStatus status
Plan status.
Definition: types.hpp:4441
int64_t issue_number
Number of completed investment periods.
Definition: types.hpp:4477
std::string display_account
Display account.
Definition: types.hpp:4451
std::string plan_id
Plan ID.
Definition: types.hpp:4439
std::string created_at
Creation time.
Definition: types.hpp:4467
std::string account_channel
Account channel.
Definition: types.hpp:4449
std::string per_invest_amount
Investment amount per period.
Definition: types.hpp:4455
std::string invest_day_of_month
Day of month for monthly plans.
Definition: types.hpp:4461
std::string member_id
Member ID.
Definition: types.hpp:4445
std::string cum_profit
Cumulative profit/loss.
Definition: types.hpp:4481
longbridge::Market market
Market.
Definition: types.hpp:4453
Response for DCAContext::stats — aggregate DCA statistics.
Definition: types.hpp:4493
std::string suspended_count
Number of suspended plans.
Definition: types.hpp:4499
std::string finished_count
Number of finished plans.
Definition: types.hpp:4497
std::vector< DcaPlan > nearest_plans
Nearest upcoming plans.
Definition: types.hpp:4501
std::string active_count
Number of active plans.
Definition: types.hpp:4495
std::string total_amount
Total invested amount.
Definition: types.hpp:4505
std::string total_profit
Total profit/loss.
Definition: types.hpp:4507
std::string rest_days
Days until next investment.
Definition: types.hpp:4503
DCA support info for one security.
Definition: types.hpp:4512
std::string symbol
Security symbol.
Definition: types.hpp:4514
bool support_regular_saving
Whether DCA is supported for this security.
Definition: types.hpp:4516
Response for DCAContext::check_support.
Definition: types.hpp:4521
std::vector< DcaSupportInfo > infos
Support info per security.
Definition: types.hpp:4523
Fund analysis detail (level 2).
Definition: types.hpp:5894
int32_t actual_period
Actual period.
Definition: types.hpp:5896
std::string updated_at
Updated at.
Definition: types.hpp:5906
std::vector< int32_t > available_periods
Available periods.
Definition: types.hpp:5898
std::string cost_level
Cost level (raw JSON string)
Definition: types.hpp:5900
std::string return_ability
Return ability (raw JSON string)
Definition: types.hpp:5902
std::string value_for_money
Value for money (raw JSON string)
Definition: types.hpp:5908
bool visible
Whether visible.
Definition: types.hpp:5910
std::string risk_ability
Risk ability (raw JSON string)
Definition: types.hpp:5904
Fund analysis (level 1).
Definition: types.hpp:5875
std::string cost_level
Cost level (raw JSON string)
Definition: types.hpp:5879
std::string updated_at
Updated at.
Definition: types.hpp:5885
bool visible
Whether visible.
Definition: types.hpp:5889
std::string risk_ability
Risk ability (raw JSON string)
Definition: types.hpp:5883
std::string return_ability
Return ability (raw JSON string)
Definition: types.hpp:5881
int32_t actual_period
Actual period.
Definition: types.hpp:5877
std::string value_for_money
Value for money (raw JSON string)
Definition: types.hpp:5887
A fund annual return entry.
Definition: types.hpp:5957
std::string change_percent
Change percent.
Definition: types.hpp:5959
int32_t year
Year.
Definition: types.hpp:5961
A fund's asset allocation.
Definition: types.hpp:5753
std::vector< FundAssetAllocationItem > lists
Allocation entries.
Definition: types.hpp:5757
std::string report_date
Report date.
Definition: types.hpp:5759
int32_t asset_type
Asset type.
Definition: types.hpp:5755
A single holding entry inside a fund's asset allocation.
Definition: types.hpp:5740
std::string code
Security code.
Definition: types.hpp:5742
std::string counter_id
Security counter id.
Definition: types.hpp:5744
std::string name
Name.
Definition: types.hpp:5746
std::string position_ratio
Position ratio.
Definition: types.hpp:5748
A fund entry in the fund list.
Definition: types.hpp:5686
std::string code
Fund code.
Definition: types.hpp:5692
std::string time_interval
Time interval of the earning rate.
Definition: types.hpp:5718
std::string currency
Currency.
Definition: types.hpp:5696
std::string earning_rate
Earning rate.
Definition: types.hpp:5700
std::string counter_id
Fund counter id.
Definition: types.hpp:5694
std::string risk_level_name
Risk level name.
Definition: types.hpp:5716
bool holding
Whether the user is holding this fund.
Definition: types.hpp:5702
std::string isin
ISIN.
Definition: types.hpp:5704
std::string unit_value
Unit value.
Definition: types.hpp:5720
int32_t risk_level
Risk level.
Definition: types.hpp:5714
std::string description
Description.
Definition: types.hpp:5698
std::string product
Product.
Definition: types.hpp:5708
std::string name
Fund name.
Definition: types.hpp:5706
std::string recommendation_text
Recommendation text.
Definition: types.hpp:5712
std::string purchase_amount
Minimum purchase amount.
Definition: types.hpp:5710
std::string asset_class_name
Asset class name.
Definition: types.hpp:5690
int32_t asset_class
Asset class.
Definition: types.hpp:5688
A dated value point.
Definition: types.hpp:6165
int64_t date
Date (unix seconds)
Definition: types.hpp:6167
std::string value
Value.
Definition: types.hpp:6169
Fund detail.
Definition: types.hpp:5764
std::string amount_affirm_day
Amount affirm day.
Definition: types.hpp:5770
std::string year_to_date_yield
Year to date yield.
Definition: types.hpp:5868
bool derivatives
Whether it is a derivative.
Definition: types.hpp:5790
bool is_complex
Whether it is a complex product.
Definition: types.hpp:5802
std::string purchase_rate
Purchase rate.
Definition: types.hpp:5844
std::string open_period
Open period.
Definition: types.hpp:5830
int32_t risk_level
Risk level.
Definition: types.hpp:5860
int32_t done_day
Done day.
Definition: types.hpp:5792
std::string isin
ISIN.
Definition: types.hpp:5808
std::string name
Fund name.
Definition: types.hpp:5822
std::string code
Fund code.
Definition: types.hpp:5784
std::string nav_deadline
Net value deadline.
Definition: types.hpp:5824
std::string open_date
Open date.
Definition: types.hpp:5828
std::string min_hold_share
Minimum holding share.
Definition: types.hpp:5816
std::string currency
Currency.
Definition: types.hpp:5786
int32_t rating
Rating.
Definition: types.hpp:5846
int32_t ytd_yield_type
Year to date yield type.
Definition: types.hpp:5870
std::string redemption_advance_day
Redemption advance day.
Definition: types.hpp:5850
std::string asset_class_name
Asset class name.
Definition: types.hpp:5776
std::string redemption_close_period_shows
Redemption close period text.
Definition: types.hpp:5854
std::string product_information_locals
Product information locals.
Definition: types.hpp:5834
bool is_cash_plus
Whether it is a cash-plus fund.
Definition: types.hpp:5800
std::string additional_purchase_amount
Additional purchase amount.
Definition: types.hpp:5766
std::string manager
Manager.
Definition: types.hpp:5812
std::string month_raise_day
Month raise day.
Definition: types.hpp:5820
std::string redemption_done_day
Redemption done day.
Definition: types.hpp:5856
std::string manage_rate
Management rate.
Definition: types.hpp:5810
std::string channel
Channel.
Definition: types.hpp:5780
int32_t purchasable
Whether purchasable.
Definition: types.hpp:5838
bool virtual_currency
Whether it is a virtual currency fund.
Definition: types.hpp:5866
std::string cut_off_time
Cut off time.
Definition: types.hpp:5788
std::string purchase_amount
Minimum purchase amount.
Definition: types.hpp:5842
std::string close_period
Close period.
Definition: types.hpp:5782
std::string min_hold_cash
Minimum holding cash.
Definition: types.hpp:5814
int32_t affirm_day
Affirm day.
Definition: types.hpp:5768
std::string min_sell_share
Minimum sell share.
Definition: types.hpp:5818
std::string risk_level_name
Risk level name.
Definition: types.hpp:5862
std::string redemption_open_day_shows
Redemption open day text.
Definition: types.hpp:5858
std::string redemption_amount
Redemption amount.
Definition: types.hpp:5852
int32_t verify_status
Verify status.
Definition: types.hpp:5864
int32_t asset_class
Asset class.
Definition: types.hpp:5774
std::string product
Product.
Definition: types.hpp:5832
std::string profile
Profile.
Definition: types.hpp:5836
std::optional< FundAssetAllocation > asset_allocation
Asset allocation.
Definition: types.hpp:5772
std::string excess_return_fee
Excess return fee.
Definition: types.hpp:5794
bool no_load
Whether it is no-load.
Definition: types.hpp:5826
std::string gst_rate
GST rate.
Definition: types.hpp:5796
std::string introduce
Introduction.
Definition: types.hpp:5798
bool is_yinghebao
Whether it is a Yinghebao fund.
Definition: types.hpp:5806
std::string purchase_affirm_day
Purchase affirm day.
Definition: types.hpp:5840
int32_t redeemable
Whether redeemable.
Definition: types.hpp:5848
std::string bill_purchase_rate
Bill purchase rate.
Definition: types.hpp:5778
bool is_new_cash_plus
Whether it is a new cash-plus fund.
Definition: types.hpp:5804
A cash dividend record for a held fund.
Definition: types.hpp:6306
std::string div_method
Dividend method.
Definition: types.hpp:6316
std::string name
Fund name.
Definition: types.hpp:6318
std::string currency
Currency.
Definition: types.hpp:6312
std::string amount
Amount.
Definition: types.hpp:6308
std::string counter_id
Fund counter id.
Definition: types.hpp:6310
int64_t date
Date (unix seconds)
Definition: types.hpp:6314
The user's dividend records for a held fund.
Definition: types.hpp:6323
std::string currency
Currency.
Definition: types.hpp:6325
std::string total_div_cash
Total cash dividend.
Definition: types.hpp:6331
int64_t lastest_date
Latest dividend date (unix seconds)
Definition: types.hpp:6329
std::vector< FundDividend > div_cash_infos
Dividend records.
Definition: types.hpp:6327
Fund list filter options. Each list holds raw JSON option objects.
Definition: types.hpp:5725
std::vector< std::string > industry_category_name
Industry category options (raw JSON strings)
Definition: types.hpp:5733
std::vector< std::string > company
Company options (raw JSON strings)
Definition: types.hpp:5729
std::vector< std::string > asset_class
Asset class options (raw JSON strings)
Definition: types.hpp:5727
std::vector< std::string > risk_level
Risk level options (raw JSON strings)
Definition: types.hpp:5735
std::vector< std::string > currency
Currency options (raw JSON strings)
Definition: types.hpp:5731
A single fund holding (top-10 holdings).
Definition: types.hpp:6068
std::string maturity_date
Maturity date.
Definition: types.hpp:6082
std::string market_value
Market value.
Definition: types.hpp:6080
std::string weighting
Weighting.
Definition: types.hpp:6092
std::string industry_name
Industry name.
Definition: types.hpp:6078
std::string shares
Shares.
Definition: types.hpp:6090
std::string share_change_percent
Share change percent.
Definition: types.hpp:6088
std::string country_name
Country name.
Definition: types.hpp:6074
std::string holding_type
Holding type.
Definition: types.hpp:6076
std::string share_change
Share change.
Definition: types.hpp:6086
std::string bond_type_name
Bond type name.
Definition: types.hpp:6072
std::string bond_type
Bond type.
Definition: types.hpp:6070
std::string name
Name.
Definition: types.hpp:6084
A fund's top-10 holdings.
Definition: types.hpp:6097
std::vector< FundHolding > holdings
Holding entries.
Definition: types.hpp:6099
std::string report_date
Report date.
Definition: types.hpp:6101
std::string weighting
Total weighting.
Definition: types.hpp:6103
A named contrast performance series.
Definition: types.hpp:5939
std::vector< std::string > performances
Performance points (raw JSON strings)
Definition: types.hpp:5943
std::string name
Series name.
Definition: types.hpp:5941
Net-value range options (relative months / years before now).
Definition: types.hpp:5450
std::optional< int32_t > month_before
Number of months before now.
Definition: types.hpp:5452
std::optional< int32_t > year_before
Number of years before now.
Definition: types.hpp:5454
A fund net-asset-value data point (latest / historical).
Definition: types.hpp:5621
std::string counter_id
Fund counter id.
Definition: types.hpp:5629
std::string value_format
Formatted net value.
Definition: types.hpp:5643
int64_t last_update_time
Last update time (unix seconds)
Definition: types.hpp:5639
std::string change_percent
Net value change percent.
Definition: types.hpp:5625
std::string isin
ISIN.
Definition: types.hpp:5637
std::string change
Net value change.
Definition: types.hpp:5623
std::string counter_name
Fund name.
Definition: types.hpp:5631
std::string value
Net value.
Definition: types.hpp:5641
std::string date_format
Formatted date.
Definition: types.hpp:5635
std::string change_percent_format
Formatted change percent.
Definition: types.hpp:5627
std::string currency
Currency.
Definition: types.hpp:5633
Fund order detail.
Definition: types.hpp:6476
std::vector< FundOrderKeyword > keywords
Keyword blocks.
Definition: types.hpp:6478
std::optional< FundOrderInfo > order
The order.
Definition: types.hpp:6480
std::vector< FundOrderStage > stages
Processing stages.
Definition: types.hpp:6482
A fund order (list view).
Definition: types.hpp:6336
std::string currency
Currency.
Definition: types.hpp:6346
std::string fund_name
Fund name.
Definition: types.hpp:6348
int64_t created_at
Created at (unix seconds)
Definition: types.hpp:6344
std::string counter_id
Fund counter id.
Definition: types.hpp:6342
std::string product_type
Product type.
Definition: types.hpp:6356
std::string net_worth
Net worth.
Definition: types.hpp:6354
bool is_auto
Whether it is an auto (DCA) order.
Definition: types.hpp:6352
std::string state
State.
Definition: types.hpp:6358
std::string units
Units.
Definition: types.hpp:6362
int64_t id
Order id.
Definition: types.hpp:6350
std::string state_desc
State description.
Definition: types.hpp:6360
std::string amount
Amount.
Definition: types.hpp:6340
std::string action
Action (buy/sell)
Definition: types.hpp:6338
The full information of a fund order.
Definition: types.hpp:6399
std::string time_partition
Time partition.
Definition: types.hpp:6461
bool repurchaseable
Whether repurchaseable.
Definition: types.hpp:6441
std::string amount
Amount.
Definition: types.hpp:6407
std::string fund_name
Fund name.
Definition: types.hpp:6423
int64_t transaction_at
Transaction at (unix seconds)
Definition: types.hpp:6465
std::string sale_proceeds
Sale proceeds.
Definition: types.hpp:6443
int32_t status_ex
Extended status.
Definition: types.hpp:6457
std::string account_channel
Account channel.
Definition: types.hpp:6403
std::string fee
Fee.
Definition: types.hpp:6421
std::string units
Units.
Definition: types.hpp:6467
int64_t eq_at
Equity time (unix seconds)
Definition: types.hpp:6419
std::string counter_id
Fund counter id.
Definition: types.hpp:6411
int64_t id
Order id.
Definition: types.hpp:6429
std::string message
Message.
Definition: types.hpp:6431
std::string state
State.
Definition: types.hpp:6451
std::string fund_source
Fund source.
Definition: types.hpp:6425
bool withdrawable
Whether withdrawable.
Definition: types.hpp:6471
std::string state_desc
State description.
Definition: types.hpp:6453
std::string histories
Histories.
Definition: types.hpp:6427
std::string sales_charge
Sales charge.
Definition: types.hpp:6445
std::string product_type
Product type.
Definition: types.hpp:6439
std::string action
Action (buy/sell)
Definition: types.hpp:6405
std::string currency
Currency.
Definition: types.hpp:6415
int64_t withdraw_at
Withdraw at (unix seconds)
Definition: types.hpp:6469
std::string net_worth
Net worth.
Definition: types.hpp:6433
std::string sales_unit
Sales unit.
Definition: types.hpp:6449
int64_t price_at
Price time (unix seconds)
Definition: types.hpp:6435
int64_t processed_at
Processed at (unix seconds)
Definition: types.hpp:6437
std::string dividend_option
Dividend option.
Definition: types.hpp:6417
int32_t status
Status.
Definition: types.hpp:6455
int64_t created_at
Created at (unix seconds)
Definition: types.hpp:6413
std::string total_amount
Total amount.
Definition: types.hpp:6463
std::string sales_price
Sales price.
Definition: types.hpp:6447
int64_t aaid
Account id.
Definition: types.hpp:6401
std::string channel
Channel.
Definition: types.hpp:6409
std::string t_description
T+ description.
Definition: types.hpp:6459
A keyword block in a fund order detail.
Definition: types.hpp:6367
std::string content
Content.
Definition: types.hpp:6369
std::string line_strategy
Line strategy.
Definition: types.hpp:6375
std::string group
Group.
Definition: types.hpp:6371
std::string title
Title.
Definition: types.hpp:6377
std::string key
Key.
Definition: types.hpp:6373
A processing stage in a fund order detail.
Definition: types.hpp:6382
std::string key
Key.
Definition: types.hpp:6386
std::string progress
Progress.
Definition: types.hpp:6392
std::string desc
Description.
Definition: types.hpp:6384
std::string stage
Stage.
Definition: types.hpp:6394
std::string link
Link.
Definition: types.hpp:6388
std::string link_text
Link text.
Definition: types.hpp:6390
The result of submitting a fund order.
Definition: types.hpp:6539
int32_t status
Status.
Definition: types.hpp:6555
std::string fund_name
Fund name.
Definition: types.hpp:6549
std::string msg
Message.
Definition: types.hpp:6553
std::string amount
Amount.
Definition: types.hpp:6543
int64_t created_at
Created at (unix seconds)
Definition: types.hpp:6547
int64_t id
Order id.
Definition: types.hpp:6551
std::string counter_id
Fund counter id.
Definition: types.hpp:6545
std::string action
Action (buy/sell)
Definition: types.hpp:6541
std::string units
Units.
Definition: types.hpp:6557
The result of validating a fund order.
Definition: types.hpp:6522
std::string eval_address
Risk-assessment eval address.
Definition: types.hpp:6526
int32_t user_pi
User PI status.
Definition: types.hpp:6532
std::string msg
Message.
Definition: types.hpp:6530
std::string auth_token
Auth token to carry into submit.
Definition: types.hpp:6524
int32_t fund_risk_level
Fund risk level.
Definition: types.hpp:6528
int32_t user_risk_level
User risk level.
Definition: types.hpp:6534
Paging options (page / size).
Definition: types.hpp:5441
std::optional< int32_t > page
Page number.
Definition: types.hpp:5443
std::optional< int32_t > size
Page size.
Definition: types.hpp:5445
Detail of a single fund position.
Definition: types.hpp:6222
std::vector< FundDatedValue > sum_profit
Accumulated profit series.
Definition: types.hpp:6226
std::optional< FundPositionDetailValues > detail_values
Detail values.
Definition: types.hpp:6224
std::vector< FundUnitValue > ut_value
Unit value series.
Definition: types.hpp:6228
Detail values of a single fund position.
Definition: types.hpp:6187
std::string amount
Amount.
Definition: types.hpp:6189
std::string holding_units
Holding units.
Definition: types.hpp:6199
std::string pending_buy_value
Pending buy value.
Definition: types.hpp:6203
std::string holding_profit_rate
Holding profit rate.
Definition: types.hpp:6197
std::string recent_unit_value
Recent unit value.
Definition: types.hpp:6215
std::string holding_cost
Holding cost.
Definition: types.hpp:6193
std::string sold_pending_confirm_units
Sold pending-confirm units.
Definition: types.hpp:6217
std::string profit_amount_accum_td_rate
Accumulated profit rate (to date)
Definition: types.hpp:6209
std::string holding_value
Holding value.
Definition: types.hpp:6201
std::string pending_sell_value
Pending sell value.
Definition: types.hpp:6205
std::string holding_profit
Holding profit.
Definition: types.hpp:6195
int64_t recent_tradingday
Recent trading day (unix seconds)
Definition: types.hpp:6213
std::string recent_profit
Recent profit.
Definition: types.hpp:6211
std::string currency
Currency.
Definition: types.hpp:6191
std::string profit_amount_accum_td
Accumulated profit (to date)
Definition: types.hpp:6207
A single fund position held by the user.
Definition: types.hpp:6125
std::string name
Fund name.
Definition: types.hpp:6139
std::string currency
Currency.
Definition: types.hpp:6131
std::string sum_recent_profit
Accumulated recent profit.
Definition: types.hpp:6145
std::string holding_profit
Holding profit.
Definition: types.hpp:6135
std::string amount
Holding amount.
Definition: types.hpp:6127
std::string freeze_units
Frozen units.
Definition: types.hpp:6133
std::string holding_units
Holding units.
Definition: types.hpp:6137
std::string recent_profit
Recent profit.
Definition: types.hpp:6141
std::string counter_id
Fund counter id.
Definition: types.hpp:6129
int64_t recent_trading_day
Recent trading day (unix seconds)
Definition: types.hpp:6143
A held-fund net-value point (position view).
Definition: types.hpp:6289
int64_t last_update_time
Last update time (unix seconds)
Definition: types.hpp:6299
std::string change
Net value change.
Definition: types.hpp:6291
std::string value
Net value.
Definition: types.hpp:6301
std::string change_percent
Net value change percent.
Definition: types.hpp:6293
std::string counter_name
Fund name.
Definition: types.hpp:6297
std::string counter_id
Fund counter id.
Definition: types.hpp:6295
The user's cumulative profit for a held fund.
Definition: types.hpp:6276
std::string currency
Currency.
Definition: types.hpp:6278
int64_t last_update_time
Last update time (unix seconds)
Definition: types.hpp:6282
std::string sum_profit
Total profit.
Definition: types.hpp:6284
std::vector< FundDatedValue > history_value
Profit series.
Definition: types.hpp:6280
The user's fund positions overview.
Definition: types.hpp:6150
std::string pending_buy_orders
Pending buy orders amount.
Definition: types.hpp:6156
std::string account_channel
Account channel.
Definition: types.hpp:6152
std::string sold_pending_credit_orders
Sold pending credit orders amount.
Definition: types.hpp:6160
std::vector< FundPosition > list
Position entries.
Definition: types.hpp:6154
int64_t recent_trading_day
Recent trading day (unix seconds)
Definition: types.hpp:6158
A fund quarterly return entry.
Definition: types.hpp:5966
std::string change_percent
Change percent.
Definition: types.hpp:5968
int32_t year
Year.
Definition: types.hpp:5972
int32_t quarter
Quarter.
Definition: types.hpp:5970
A stock held by the fund (reverse lookup).
Definition: types.hpp:6108
std::string name
Stock name.
Definition: types.hpp:6116
std::string currency
Currency.
Definition: types.hpp:6114
std::string counter_id
Stock counter id.
Definition: types.hpp:6112
std::string code
Stock code.
Definition: types.hpp:6110
std::string position_ratio
Position ratio.
Definition: types.hpp:6118
std::string report_date
Report date.
Definition: types.hpp:6120
A fund transaction / cash-flow record.
Definition: types.hpp:6487
std::string quantity_description
Quantity description.
Definition: types.hpp:6505
std::string currency
Currency.
Definition: types.hpp:6495
std::string ref_no
Reference number.
Definition: types.hpp:6511
std::string redirect_page_v2
Redirect page (v2)
Definition: types.hpp:6509
std::string type_name
Type name.
Definition: types.hpp:6517
int64_t created_at
Created at (unix seconds)
Definition: types.hpp:6493
std::string tx_type
Transaction type.
Definition: types.hpp:6515
int64_t done_at
Done at (unix seconds)
Definition: types.hpp:6503
std::string description
Description.
Definition: types.hpp:6497
std::string stock_quantity
Stock quantity.
Definition: types.hpp:6513
std::string amount
Amount.
Definition: types.hpp:6489
int64_t detail_created_at
Detail created at (unix seconds)
Definition: types.hpp:6499
std::string category
Category.
Definition: types.hpp:6491
std::string detail_type
Detail type.
Definition: types.hpp:6501
std::string redirect_page
Redirect page.
Definition: types.hpp:6507
A benchmark contrast series in a fund trend chart.
Definition: types.hpp:5915
std::vector< std::string > performances
Performance points (raw JSON strings)
Definition: types.hpp:5919
std::string benchmark_name
Benchmark name.
Definition: types.hpp:5917
Fund trend chart.
Definition: types.hpp:5924
std::optional< FundTrendContrast > contrast_performances
Benchmark contrast performances.
Definition: types.hpp:5932
std::vector< std::string > category_average_performances
Category average performances (raw JSON strings)
Definition: types.hpp:5930
int32_t actual_period
Actual period.
Definition: types.hpp:5926
std::vector< std::string > fund_performances
Fund performances (raw JSON strings)
Definition: types.hpp:5934
std::vector< int32_t > available_periods
Available periods.
Definition: types.hpp:5928
A fund unit-value point (position view).
Definition: types.hpp:6174
std::string unit_value
Unit value.
Definition: types.hpp:6182
int64_t date
Date (unix seconds)
Definition: types.hpp:6176
std::string day_increase_rate
Day increase rate.
Definition: types.hpp:6178
std::string total_value
Total value.
Definition: types.hpp:6180
Options for the fund analysis / trend / comparison request.
Definition: types.hpp:5434
std::optional< int32_t > period
Analysis period.
Definition: types.hpp:5436
Options for the fund holdings request.
Definition: types.hpp:5459
std::optional< int32_t > scene
Scene.
Definition: types.hpp:5461
Options for the fund orders list request.
Definition: types.hpp:5531
std::optional< std::string > currency
Filter by currency.
Definition: types.hpp:5539
std::optional< std::string > actions
Filter by actions (comma-separated)
Definition: types.hpp:5535
std::optional< int32_t > page
Page number.
Definition: types.hpp:5545
std::vector< std::string > counter_ids
Filter by fund counter ids.
Definition: types.hpp:5533
std::optional< int64_t > start
Range start (unix seconds)
Definition: types.hpp:5541
std::optional< int32_t > size
Page size.
Definition: types.hpp:5547
std::optional< std::string > states
Filter by states (comma-separated)
Definition: types.hpp:5537
std::optional< int64_t > end
Range end (unix seconds)
Definition: types.hpp:5543
Options for a single fund position dividend request.
Definition: types.hpp:5512
std::optional< int64_t > aaid
Account id.
Definition: types.hpp:5516
std::optional< int32_t > page
Page number.
Definition: types.hpp:5524
std::optional< int32_t > size
Page size.
Definition: types.hpp:5526
std::optional< std::string > currency
Currency.
Definition: types.hpp:5518
std::optional< int64_t > end
Range end (unix seconds)
Definition: types.hpp:5522
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5514
std::optional< int64_t > start
Range start (unix seconds)
Definition: types.hpp:5520
Options for a single fund position detail request.
Definition: types.hpp:5482
std::optional< std::string > start
Range start.
Definition: types.hpp:5488
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5484
std::optional< int64_t > aaid
Account id.
Definition: types.hpp:5486
std::optional< std::string > end
Range end.
Definition: types.hpp:5490
Options for a single fund position cumulative-profit request.
Definition: types.hpp:5495
std::optional< int32_t > size
Page size.
Definition: types.hpp:5507
std::optional< int32_t > page
Page number.
Definition: types.hpp:5505
std::optional< std::string > end
Range end.
Definition: types.hpp:5503
std::optional< std::string > start
Range start.
Definition: types.hpp:5501
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5497
std::optional< int64_t > aaid
Account id.
Definition: types.hpp:5499
Options for the fund positions overview request.
Definition: types.hpp:5473
std::optional< int64_t > aaid
Account id.
Definition: types.hpp:5477
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5475
Options for the fund stock-holdings (reverse) request.
Definition: types.hpp:5466
std::optional< int32_t > limit
Maximum number of stocks to return.
Definition: types.hpp:5468
Options for the fund transactions (cash-flow) list request.
Definition: types.hpp:5552
std::optional< int64_t > end
Range end (unix seconds)
Definition: types.hpp:5564
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5554
std::optional< std::string > category
Category.
Definition: types.hpp:5558
std::optional< int32_t > page
Page number.
Definition: types.hpp:5566
std::optional< int32_t > size
Page size.
Definition: types.hpp:5568
std::optional< std::string > currencies
Currencies (comma-separated)
Definition: types.hpp:5560
std::optional< std::string > business_type
Business type.
Definition: types.hpp:5556
std::optional< int64_t > start
Range start (unix seconds)
Definition: types.hpp:5562
Options for the fund list request.
Definition: types.hpp:5423
std::vector< std::string > time_interval
Earning-rate time intervals.
Definition: types.hpp:5429
std::optional< std::string > filter
Server-defined filter object as a raw JSON string.
Definition: types.hpp:5425
std::vector< int64_t > quick_ids
Quick-filter ids.
Definition: types.hpp:5427
A hot-selling fund entry.
Definition: types.hpp:5657
std::string recommendation_text
Recommendation text.
Definition: types.hpp:5675
std::string name
Fund name.
Definition: types.hpp:5671
std::string earning_rate
Earning rate.
Definition: types.hpp:5667
std::string time_interval
Time interval of the earning rate.
Definition: types.hpp:5681
std::string counter_id
Fund counter id.
Definition: types.hpp:5663
int32_t asset_class
Asset class.
Definition: types.hpp:5659
std::string purchase_amount
Minimum purchase amount.
Definition: types.hpp:5673
int32_t risk_level
Risk level.
Definition: types.hpp:5677
std::vector< FundPerformancePoint > fund_performances
Recent performance points.
Definition: types.hpp:5669
std::string asset_class_name
Asset class name.
Definition: types.hpp:5661
std::string risk_level_name
Risk level name.
Definition: types.hpp:5679
std::string currency
Currency.
Definition: types.hpp:5665
Options for submitting a fund order.
Definition: types.hpp:5594
std::optional< std::string > amount
Amount (for amount-based orders)
Definition: types.hpp:5602
std::optional< int32_t > dividend_option
Dividend option.
Definition: types.hpp:5606
std::string action
Action (buy/sell)
Definition: types.hpp:5598
std::optional< bool > is_sell_all
Whether to sell all.
Definition: types.hpp:5610
std::string currency
Currency.
Definition: types.hpp:5600
std::optional< std::string > units
Units (for unit-based orders)
Definition: types.hpp:5604
std::optional< int32_t > trade_method
Trade method.
Definition: types.hpp:5614
std::optional< std::string > remark
Remark.
Definition: types.hpp:5612
std::optional< std::string > fee
Fee.
Definition: types.hpp:5608
std::string counter_id
Fund counter id.
Definition: types.hpp:5596
Options for validating a fund order.
Definition: types.hpp:5573
std::string action
Action (buy/sell)
Definition: types.hpp:5577
std::string currency
Currency.
Definition: types.hpp:5579
std::optional< std::string > amount
Amount (for amount-based orders)
Definition: types.hpp:5581
std::optional< int32_t > dividend_option
Dividend option.
Definition: types.hpp:5585
std::optional< int32_t > fund_source
Fund source.
Definition: types.hpp:5587
std::optional< std::string > units
Units (for unit-based orders)
Definition: types.hpp:5583
std::string counter_id
Fund counter id.
Definition: types.hpp:5575
std::optional< std::string > account_channel
Account channel.
Definition: types.hpp:5589
One ETF asset allocation group (grouped by element type)
Definition: types.hpp:4333
ElementType asset_type
Element type of this group.
Definition: types.hpp:4337
std::string report_date
Report date (e.g. 20260601)
Definition: types.hpp:4335
std::vector< AssetAllocationItem > lists
Elements.
Definition: types.hpp:4339
One element of an ETF asset allocation group.
Definition: types.hpp:4316
std::string symbol
Security symbol (holdings only, e.g. NVDA.US)
Definition: types.hpp:4324
std::string position_ratio
Position ratio (e.g. 0.0861114)
Definition: types.hpp:4322
std::optional< HoldingDetail > holding_detail
Holding detail (holdings only)
Definition: types.hpp:4328
std::string name
Element name.
Definition: types.hpp:4318
std::map< std::string, std::string > name_locales
Localized names (locale → name)
Definition: types.hpp:4326
std::string code
Security code (holdings only, e.g. NVDA)
Definition: types.hpp:4320
ETF asset allocation response.
Definition: types.hpp:4344
std::vector< AssetAllocationGroup > info
Asset allocation groups.
Definition: types.hpp:4346
One business/regional segment item in a historical snapshot.
Definition: types.hpp:4112
std::string percent
Definition: types.hpp:4114
std::string value
Definition: types.hpp:4115
std::string name
Definition: types.hpp:4113
One business segment item (latest snapshot).
Definition: types.hpp:4096
std::string percent
Definition: types.hpp:4098
std::string name
Definition: types.hpp:4097
One historical business segments snapshot.
Definition: types.hpp:4120
std::string date
Definition: types.hpp:4121
std::vector< BusinessSegmentHistoryItem > business
Definition: types.hpp:4124
std::string currency
Definition: types.hpp:4123
std::string total
Definition: types.hpp:4122
std::vector< BusinessSegmentHistoryItem > regionals
Definition: types.hpp:4125
Business segments history response.
Definition: types.hpp:4130
std::vector< BusinessSegmentsHistoricalItem > historical
Definition: types.hpp:4131
Business segments response.
Definition: types.hpp:4103
std::string currency
Definition: types.hpp:4106
std::vector< BusinessSegmentItem > business
Definition: types.hpp:4107
std::string total
Definition: types.hpp:4105
std::string date
Definition: types.hpp:4104
Buyback data response.
Definition: types.hpp:4039
std::vector< BuybackHistoryItem > buyback_history
Definition: types.hpp:4041
std::optional< RecentBuybacks > recent_buybacks
Definition: types.hpp:4040
std::vector< BuybackRatios > buyback_ratios
Definition: types.hpp:4042
Historical annual buyback data point.
Definition: types.hpp:4021
std::string fiscal_year_range
Definition: types.hpp:4023
std::string currency
Definition: types.hpp:4027
std::string net_buyback_growth_rate
Definition: types.hpp:4026
std::string fiscal_year
Definition: types.hpp:4022
std::string net_buyback_yield
Definition: types.hpp:4025
std::string net_buyback
Definition: types.hpp:4024
Buyback payout and cash-flow ratios.
Definition: types.hpp:4032
std::string net_buyback_to_cashflow_ratio
Definition: types.hpp:4034
std::string net_buyback_payout_ratio
Definition: types.hpp:4033
Company overview and profile information.
Definition: types.hpp:3744
std::string fax
Definition: types.hpp:3763
std::string founded
Definition: types.hpp:3747
std::string address
Definition: types.hpp:3751
std::string website
Definition: types.hpp:3753
std::string ticker
Definition: types.hpp:3767
std::string year_end
Definition: types.hpp:3760
std::string profile
Definition: types.hpp:3768
std::string audit_inst
Definition: types.hpp:3758
int32_t sector
Definition: types.hpp:3769
std::string listing_date
Definition: types.hpp:3748
std::string category
Definition: types.hpp:3759
std::string chairman
Definition: types.hpp:3756
std::string name
Definition: types.hpp:3745
std::string phone
Definition: types.hpp:3762
std::string email
Definition: types.hpp:3764
std::string issue_price
Definition: types.hpp:3754
std::string employees
Definition: types.hpp:3761
std::string manager
Definition: types.hpp:3766
std::string legal_repr
Definition: types.hpp:3765
std::string region
Definition: types.hpp:3750
std::string office_address
Definition: types.hpp:3752
std::string secretary
Definition: types.hpp:3757
std::string company_name
Definition: types.hpp:3746
std::string shares_offered
Definition: types.hpp:3755
std::string market
Definition: types.hpp:3749
One consensus estimate detail for a financial metric.
Definition: types.hpp:3900
std::string comp_desc
Definition: types.hpp:3907
std::string key
Definition: types.hpp:3901
std::string estimate
Definition: types.hpp:3905
std::string description
Definition: types.hpp:3903
std::string name
Definition: types.hpp:3902
std::string comp
Definition: types.hpp:3908
bool is_released
Definition: types.hpp:3909
std::string actual
Definition: types.hpp:3904
std::string comp_value
Definition: types.hpp:3906
Consensus report for one fiscal period.
Definition: types.hpp:3914
std::string period_text
Definition: types.hpp:3917
int32_t fiscal_year
Definition: types.hpp:3915
std::vector< ConsensusDetail > details
Definition: types.hpp:3918
std::string fiscal_period
Definition: types.hpp:3916
One corporate action event (dividend, split, etc.).
Definition: types.hpp:3820
std::string id
Definition: types.hpp:3821
bool is_delay
Definition: types.hpp:3830
std::string date_str
Definition: types.hpp:3823
std::string act_desc
Definition: types.hpp:3827
std::string date_zone
Definition: types.hpp:3825
std::string act_type
Definition: types.hpp:3826
bool recent
Definition: types.hpp:3829
std::string date_type
Definition: types.hpp:3824
std::string date
Definition: types.hpp:3822
std::string action
Definition: types.hpp:3828
std::string delay_content
Definition: types.hpp:3831
Collection of corporate action events.
Definition: types.hpp:3836
std::vector< CorpActionItem > items
Definition: types.hpp:3837
One dividend event for a security.
Definition: types.hpp:3567
std::string symbol
Definition: types.hpp:3568
std::string record_date
Definition: types.hpp:3571
std::string desc
Definition: types.hpp:3570
std::string ex_date
Definition: types.hpp:3572
std::string id
Definition: types.hpp:3569
std::string payment_date
Definition: types.hpp:3573
List of dividend events.
Definition: types.hpp:3578
std::vector< DividendItem > list
Definition: types.hpp:3579
Executives for one security.
Definition: types.hpp:3998
std::string symbol
Definition: types.hpp:3999
int32_t total
Definition: types.hpp:4001
std::vector< Professional > professionals
Definition: types.hpp:4002
std::string forward_url
Definition: types.hpp:4000
List of executive groups per security.
Definition: types.hpp:4007
std::vector< ExecutiveGroup > professional_list
Definition: types.hpp:4008
Financial consensus response.
Definition: types.hpp:3923
int32_t current_index
Definition: types.hpp:3925
std::string current_period
Definition: types.hpp:3928
std::vector< ConsensusReport > list
Definition: types.hpp:3924
std::string currency
Definition: types.hpp:3926
std::vector< std::string > opt_periods
Definition: types.hpp:3927
Financial report snapshot response.
Definition: types.hpp:4222
std::string fr_asset_turn_ttm
Definition: types.hpp:4242
std::optional< SnapshotForecastMetric > fo_ebit
Definition: types.hpp:4230
std::string fp_end
Definition: types.hpp:4226
std::string name
Definition: types.hpp:4223
std::optional< SnapshotReportedMetric > fr_invest_cash
Definition: types.hpp:4235
std::string currency
Definition: types.hpp:4227
std::string fp_start
Definition: types.hpp:4225
std::string fr_leverage_ttm
Definition: types.hpp:4243
std::string report_desc
Definition: types.hpp:4228
std::optional< SnapshotReportedMetric > fr_profit
Definition: types.hpp:4233
std::optional< SnapshotReportedMetric > fr_operate_cash
Definition: types.hpp:4234
std::optional< SnapshotReportedMetric > fr_total_assets
Definition: types.hpp:4237
std::optional< SnapshotReportedMetric > fr_revenue
Definition: types.hpp:4232
std::string fr_roe_ttm
Definition: types.hpp:4239
std::optional< SnapshotForecastMetric > fo_eps
Definition: types.hpp:4231
std::string fr_profit_margin_ttm
Definition: types.hpp:4241
std::string fr_profit_margin
Definition: types.hpp:4240
std::optional< SnapshotForecastMetric > fo_revenue
Definition: types.hpp:4229
std::optional< SnapshotReportedMetric > fr_finance_cash
Definition: types.hpp:4236
std::optional< SnapshotReportedMetric > fr_total_liability
Definition: types.hpp:4238
std::string fr_debt_assets_ratio
Definition: types.hpp:4244
std::string ticker
Definition: types.hpp:4224
Financial reports — list_json contains serialized JSON.
Definition: types.hpp:3894
std::string list_json
Definition: types.hpp:3895
Collection of forecast EPS items.
Definition: types.hpp:3698
std::vector< ForecastEpsItem > items
Definition: types.hpp:3699
Forecast EPS data point from institutional analysts.
Definition: types.hpp:3684
std::string forecast_eps_highest
Definition: types.hpp:3688
std::string forecast_eps_median
Definition: types.hpp:3685
int64_t forecast_start_date
Definition: types.hpp:3692
int32_t institution_total
Definition: types.hpp:3689
std::string forecast_eps_mean
Definition: types.hpp:3686
int32_t institution_up
Definition: types.hpp:3690
int64_t forecast_end_date
Definition: types.hpp:3693
std::string forecast_eps_lowest
Definition: types.hpp:3687
int32_t institution_down
Definition: types.hpp:3691
One fund's holding record for a security.
Definition: types.hpp:3803
std::string code
Definition: types.hpp:3804
std::string name
Definition: types.hpp:3807
std::string currency
Definition: types.hpp:3806
std::string report_date
Definition: types.hpp:3809
std::string position_ratio
Definition: types.hpp:3808
std::string symbol
Definition: types.hpp:3805
Collection of fund holders for a security.
Definition: types.hpp:3814
std::vector< FundHolder > lists
Definition: types.hpp:3815
Holding detail of an ETF asset allocation element (holdings only)
Definition: types.hpp:4299
std::string industry_id
Industry ID.
Definition: types.hpp:4301
std::string index_name
Index name.
Definition: types.hpp:4307
std::string industry_name
Industry name.
Definition: types.hpp:4303
std::string holding_type_name
Holding type name.
Definition: types.hpp:4311
std::string holding_type
Holding type (e.g. E for stock)
Definition: types.hpp:4309
std::string index
Index counter ID (e.g. BK/US/CP99000)
Definition: types.hpp:4305
Definition: types.hpp:4188
std::string ytd_chg
Definition: types.hpp:4193
std::string chg
Definition: types.hpp:4192
std::string symbol
Definition: types.hpp:4190
std::string next_json
Definition: types.hpp:4194
std::string name
Definition: types.hpp:4189
int32_t stock_num
Definition: types.hpp:4191
Industry peers response.
Definition: types.hpp:4199
std::optional< IndustryPeersTop > top
Definition: types.hpp:4200
std::optional< IndustryPeerNode > chain
Definition: types.hpp:4201
Top-level industry info in the peers response.
Definition: types.hpp:4179
std::string name
Definition: types.hpp:4180
std::string market
Definition: types.hpp:4181
A group of ranked industry items.
Definition: types.hpp:4167
std::vector< IndustryRankItem > lists
Definition: types.hpp:4168
One ranked industry item.
Definition: types.hpp:4154
std::string leading_ticker
Definition: types.hpp:4159
std::string leading_name
Definition: types.hpp:4158
std::string symbol
Definition: types.hpp:4156
std::string value_name
Definition: types.hpp:4161
std::string value_data
Definition: types.hpp:4162
std::string leading_chg
Definition: types.hpp:4160
std::string chg
Definition: types.hpp:4157
std::string name
Definition: types.hpp:4155
Industry rank response.
Definition: types.hpp:4173
std::vector< IndustryRankGroup > items
Definition: types.hpp:4174
Industry valuation distribution for PE, PB, PS ratios.
Definition: types.hpp:3977
std::optional< ValuationDist > pb
Definition: types.hpp:3979
std::optional< ValuationDist > pe
Definition: types.hpp:3978
std::optional< ValuationDist > ps
Definition: types.hpp:3980
Historical valuation snapshot for an industry peer.
Definition: types.hpp:3933
std::string ps
Definition: types.hpp:3937
std::string date
Definition: types.hpp:3934
std::string pe
Definition: types.hpp:3935
std::string pb
Definition: types.hpp:3936
Valuation data for one industry peer security.
Definition: types.hpp:3942
std::string currency
Definition: types.hpp:3945
std::string five_y_avg_dps
Definition: types.hpp:3952
std::string dps
Definition: types.hpp:3949
std::string div_yld
Definition: types.hpp:3950
std::string pe
Definition: types.hpp:3953
std::string assets
Definition: types.hpp:3946
std::vector< IndustryValuationHistory > history
Definition: types.hpp:3954
std::string bps
Definition: types.hpp:3947
std::string div_payout_ratio
Definition: types.hpp:3951
std::string name
Definition: types.hpp:3944
std::string eps
Definition: types.hpp:3948
std::string symbol
Definition: types.hpp:3943
List of industry valuation items.
Definition: types.hpp:3959
std::vector< IndustryValuationItem > list
Definition: types.hpp:3960
One evaluation data point in an institutional rating detail series.
Definition: types.hpp:3650
int32_t strong_buy
Definition: types.hpp:3655
std::string date
Definition: types.hpp:3652
int32_t buy
Definition: types.hpp:3651
int32_t sell
Definition: types.hpp:3654
int32_t hold
Definition: types.hpp:3653
int32_t under
Definition: types.hpp:3656
Detailed institutional rating including historical evaluate and target series.
Definition: types.hpp:3673
std::string prediction_accuracy
Definition: types.hpp:3677
std::string updated_at
Definition: types.hpp:3678
std::vector< InstitutionRatingDetailTargetItem > target_list
Definition: types.hpp:3679
std::string ccy_symbol
Definition: types.hpp:3674
std::string data_percent
Definition: types.hpp:3676
std::vector< InstitutionRatingDetailEvaluateItem > evaluate_list
Definition: types.hpp:3675
One target price data point in an institutional rating detail series.
Definition: types.hpp:3661
bool meet
Definition: types.hpp:3666
std::string min_target
Definition: types.hpp:3665
std::string avg_target
Definition: types.hpp:3662
std::string price
Definition: types.hpp:3667
std::string date
Definition: types.hpp:3663
std::string max_target
Definition: types.hpp:3664
std::string timestamp
Definition: types.hpp:3668
Combined latest and summary institutional rating data.
Definition: types.hpp:3643
InstitutionRatingLatest latest
Definition: types.hpp:3644
InstitutionRatingSummary summary
Definition: types.hpp:3645
Latest institutional rating data including industry comparison.
Definition: types.hpp:3619
RatingEvaluate evaluate
Definition: types.hpp:3620
int32_t industry_median
Definition: types.hpp:3627
RatingTarget target
Definition: types.hpp:3621
int32_t industry_rank
Definition: types.hpp:3624
std::string industry_name
Definition: types.hpp:3623
int32_t industry_mean
Definition: types.hpp:3626
int32_t industry_total
Definition: types.hpp:3625
int64_t industry_id
Definition: types.hpp:3622
Institutional rating summary with current recommendation and target price.
Definition: types.hpp:3632
std::string updated_at
Definition: types.hpp:3638
std::string target
Definition: types.hpp:3637
std::string change
Definition: types.hpp:3634
std::string ccy_symbol
Definition: types.hpp:3633
RatingSummaryEvaluate evaluate
Definition: types.hpp:3635
InstitutionRecommend recommend
Definition: types.hpp:3636
One historical rating distribution snapshot.
Definition: types.hpp:4136
std::string sell
Definition: types.hpp:4142
std::string over
Definition: types.hpp:4139
std::string under
Definition: types.hpp:4141
std::string hold
Definition: types.hpp:4140
std::string total
Definition: types.hpp:4143
std::string buy
Definition: types.hpp:4138
std::string date
Definition: types.hpp:4137
Institution rating views response.
Definition: types.hpp:4148
std::vector< InstitutionRatingViewItem > elist
Definition: types.hpp:4149
Investment relationship data including parent/subsidiary securities.
Definition: types.hpp:3856
std::string forward_url
Definition: types.hpp:3857
std::vector< InvestSecurity > invest_securities
Definition: types.hpp:3858
One security in an investment relationship (parent/subsidiary holding).
Definition: types.hpp:3842
std::string company_name_en
Definition: types.hpp:3845
std::string company_id
Definition: types.hpp:3843
std::string symbol
Definition: types.hpp:3847
std::string shares_value
Definition: types.hpp:3851
std::string percent_of_shares
Definition: types.hpp:3849
std::string company_name
Definition: types.hpp:3844
std::string currency
Definition: types.hpp:3848
std::string company_name_zhcn
Definition: types.hpp:3846
std::string shares_rank
Definition: types.hpp:3850
One operating indicator from a financial report.
Definition: types.hpp:3863
std::string indicator_value
Definition: types.hpp:3866
std::string indicator_name
Definition: types.hpp:3865
std::string field_name
Definition: types.hpp:3864
std::string yoy
Definition: types.hpp:3867
One operating report item with associated indicators.
Definition: types.hpp:3872
std::vector< OperatingIndicator > indicators
Definition: types.hpp:3883
std::string txt
Definition: types.hpp:3876
std::string financial_currency
Definition: types.hpp:3879
std::string title
Definition: types.hpp:3875
bool latest
Definition: types.hpp:3877
std::string financial_region
Definition: types.hpp:3881
std::string web_url
Definition: types.hpp:3878
std::string financial_name
Definition: types.hpp:3880
std::string financial_report
Definition: types.hpp:3882
std::string id
Definition: types.hpp:3873
std::string report
Definition: types.hpp:3874
List of operating report items.
Definition: types.hpp:3888
std::vector< OperatingItem > list
Definition: types.hpp:3889
One executive or board member.
Definition: types.hpp:3985
std::string title
Definition: types.hpp:3990
std::string id
Definition: types.hpp:3986
std::string name_en
Definition: types.hpp:3989
std::string photo
Definition: types.hpp:3992
std::string name
Definition: types.hpp:3987
std::string name_zhcn
Definition: types.hpp:3988
std::string biography
Definition: types.hpp:3991
std::string wiki_url
Definition: types.hpp:3993
One rating category (e.g. growth, profitability).
Definition: types.hpp:4072
int32_t kind
Definition: types.hpp:4073
std::vector< RatingSubIndicatorGroup > sub_indicators
Definition: types.hpp:4074
Buy/sell/hold evaluation counts from institutional analysts.
Definition: types.hpp:3584
std::string end_date
Definition: types.hpp:3593
int32_t total
Definition: types.hpp:3591
int32_t under
Definition: types.hpp:3588
int32_t buy
Definition: types.hpp:3585
int32_t over
Definition: types.hpp:3586
int32_t hold
Definition: types.hpp:3587
int32_t sell
Definition: types.hpp:3589
std::string start_date
Definition: types.hpp:3592
int32_t no_opinion
Definition: types.hpp:3590
A rating indicator node (parent or leaf).
Definition: types.hpp:4057
std::string letter
Definition: types.hpp:4060
std::string name
Definition: types.hpp:4058
std::string score
Definition: types.hpp:4059
A leaf rating indicator with a raw value.
Definition: types.hpp:4047
std::string value_type
Definition: types.hpp:4050
std::string score
Definition: types.hpp:4051
std::string name
Definition: types.hpp:4048
std::string letter
Definition: types.hpp:4052
std::string value
Definition: types.hpp:4049
A group of sub-indicators under one category indicator.
Definition: types.hpp:4065
RatingIndicator indicator
Definition: types.hpp:4066
std::vector< RatingLeafIndicator > sub_indicators
Definition: types.hpp:4067
Summary evaluation counts for one rating period.
Definition: types.hpp:3608
int32_t under
Definition: types.hpp:3614
int32_t sell
Definition: types.hpp:3612
int32_t strong_buy
Definition: types.hpp:3613
std::string date
Definition: types.hpp:3610
int32_t buy
Definition: types.hpp:3609
int32_t hold
Definition: types.hpp:3611
Analyst price target range.
Definition: types.hpp:3598
std::string prev_close
Definition: types.hpp:3601
std::string start_date
Definition: types.hpp:3602
std::string end_date
Definition: types.hpp:3603
std::string lowest_price
Definition: types.hpp:3600
std::string highest_price
Definition: types.hpp:3599
TTM (trailing twelve months) buyback summary.
Definition: types.hpp:4013
std::string net_buyback_yield_ttm
Definition: types.hpp:4016
std::string currency
Definition: types.hpp:4014
std::string net_buyback_ttm
Definition: types.hpp:4015
One institutional or major shareholder record.
Definition: types.hpp:3783
std::string percent_of_shares
Definition: types.hpp:3787
std::vector< ShareholderStock > stocks
Definition: types.hpp:3790
std::string shares_changed
Definition: types.hpp:3788
std::string shareholder_name
Definition: types.hpp:3785
std::string institution_type
Definition: types.hpp:3786
std::string report_date
Definition: types.hpp:3789
std::string shareholder_id
Definition: types.hpp:3784
Paginated list of shareholders.
Definition: types.hpp:3795
std::string forward_url
Definition: types.hpp:3797
int32_t total
Definition: types.hpp:3798
std::vector< Shareholder > shareholder_list
Definition: types.hpp:3796
A security held by a shareholder.
Definition: types.hpp:3774
std::string market
Definition: types.hpp:3777
std::string chg
Definition: types.hpp:3778
std::string symbol
Definition: types.hpp:3775
std::string code
Definition: types.hpp:3776
A forecast metric in the financial report snapshot.
Definition: types.hpp:4206
std::string est_value
Definition: types.hpp:4210
std::string cmp_desc
Definition: types.hpp:4209
std::string yoy
Definition: types.hpp:4208
std::string value
Definition: types.hpp:4207
A reported metric in the financial report snapshot.
Definition: types.hpp:4215
std::string yoy
Definition: types.hpp:4217
std::string value
Definition: types.hpp:4216
Stock ratings response.
Definition: types.hpp:4079
int32_t multi_score_change
Definition: types.hpp:4085
std::string multi_score
Definition: types.hpp:4083
std::string industry_rank
Definition: types.hpp:4087
std::string multi_letter
Definition: types.hpp:4084
std::string style_txt_name
Definition: types.hpp:4080
std::string industry_median_score
Definition: types.hpp:4090
std::string industry_total
Definition: types.hpp:4088
std::vector< RatingCategory > ratings
Definition: types.hpp:4091
std::string scale_txt_name
Definition: types.hpp:4081
std::string report_period_txt
Definition: types.hpp:4082
std::string industry_name
Definition: types.hpp:4086
std::string industry_mean_score
Definition: types.hpp:4089
One security's valuation comparison item.
Definition: types.hpp:4258
std::string currency
Definition: types.hpp:4261
std::string pb
Definition: types.hpp:4265
std::string market_value
Definition: types.hpp:4262
std::string assets
Definition: types.hpp:4272
std::string eps
Definition: types.hpp:4268
std::string pe
Definition: types.hpp:4264
std::string symbol
Definition: types.hpp:4259
std::string name
Definition: types.hpp:4260
std::vector< ValuationHistoryPoint > history
Definition: types.hpp:4273
std::string ps
Definition: types.hpp:4266
std::string price_close
Definition: types.hpp:4263
std::string dps
Definition: types.hpp:4270
std::string roe
Definition: types.hpp:4267
std::string div_yld
Definition: types.hpp:4271
std::string bps
Definition: types.hpp:4269
Valuation comparison response.
Definition: types.hpp:4278
std::vector< ValuationComparisonItem > list
Definition: types.hpp:4279
Valuation data container.
Definition: types.hpp:3730
ValuationMetricsData metrics
Definition: types.hpp:3731
Distribution statistics for one valuation metric within an industry.
Definition: types.hpp:3965
std::string ranking
Definition: types.hpp:3970
std::string rank_total
Definition: types.hpp:3972
std::string high
Definition: types.hpp:3967
std::string low
Definition: types.hpp:3966
std::string value
Definition: types.hpp:3969
std::string rank_index
Definition: types.hpp:3971
std::string median
Definition: types.hpp:3968
One historical valuation data point.
Definition: types.hpp:4249
std::string ps
Definition: types.hpp:4253
std::string pe
Definition: types.hpp:4251
std::string date
Definition: types.hpp:4250
std::string pb
Definition: types.hpp:4252
Historical valuation response (PE, PB, PS without dividend yield).
Definition: types.hpp:3736
std::optional< ValuationMetricData > pe
Definition: types.hpp:3737
std::optional< ValuationMetricData > ps
Definition: types.hpp:3739
std::optional< ValuationMetricData > pb
Definition: types.hpp:3738
Historical data for one valuation metric (PE, PB, PS, or dividend yield).
Definition: types.hpp:3711
std::vector< ValuationPoint > list
Definition: types.hpp:3716
std::string high
Definition: types.hpp:3713
std::string low
Definition: types.hpp:3714
std::string desc
Definition: types.hpp:3712
std::string median
Definition: types.hpp:3715
All valuation metrics for a security.
Definition: types.hpp:3721
std::optional< ValuationMetricData > dvd_yld
Definition: types.hpp:3725
std::optional< ValuationMetricData > ps
Definition: types.hpp:3724
std::optional< ValuationMetricData > pb
Definition: types.hpp:3723
std::optional< ValuationMetricData > pe
Definition: types.hpp:3722
One data point in a valuation time series.
Definition: types.hpp:3704
int64_t timestamp
Definition: types.hpp:3705
std::string value
Definition: types.hpp:3706
Options for get grid trading order detail request.
Definition: types.hpp:2788
std::optional< int32_t > limit
Page size.
Definition: types.hpp:2794
std::string order_id
Grid master order ID.
Definition: types.hpp:2790
std::optional< std::string > history_id
History cursor for paging through the trigger history.
Definition: types.hpp:2792
Options for query grid trading orders by IDs request.
Definition: types.hpp:2781
std::vector< std::string > order_ids
Grid master order IDs.
Definition: types.hpp:2783
Options for get grid trading orders (list) request.
Definition: types.hpp:2762
std::optional< int32_t > limit
Page size.
Definition: types.hpp:2766
std::optional< std::string > sort_order
Sort order.
Definition: types.hpp:2776
std::optional< std::string > status
Comma-joined status filter (e.g. Performing,Suspended)
Definition: types.hpp:2770
std::optional< int32_t > page
Page number.
Definition: types.hpp:2764
std::optional< Market > market
Market.
Definition: types.hpp:2768
std::optional< std::string > sort_by
Sort field.
Definition: types.hpp:2774
std::optional< std::string > symbol
Security symbol filter (e.g. 700.HK)
Definition: types.hpp:2772
Options for get grid trading trigger history request.
Definition: types.hpp:2799
std::optional< int32_t > page
Page number.
Definition: types.hpp:2803
std::string grid_order_id
Grid master order ID.
Definition: types.hpp:2801
std::optional< int32_t > limit
Page size.
Definition: types.hpp:2805
A price-step (bid-size) rule entry from the symbol-info response.
Definition: types.hpp:3088
std::optional< Decimal > end_proceed
Range end price.
Definition: types.hpp:3092
std::optional< Decimal > str_proceed
Range start price (inclusive)
Definition: types.hpp:3090
std::optional< Decimal > bid_size
Price step within the range.
Definition: types.hpp:3094
Channel / authorization info nested in the symbol-info response.
Definition: types.hpp:3099
bool strategy_granted
Whether the strategy compliance authorization has been granted.
Definition: types.hpp:3101
std::string currency
Trading currency.
Definition: types.hpp:3105
std::vector< std::string > settlement_currency
Supported settlement currencies.
Definition: types.hpp:3107
bool support_rth
Whether the RTH toggle is supported.
Definition: types.hpp:3103
Detail of a grid trading order.
Definition: types.hpp:2950
GridLimitEvent upper_limit_event
Action at the upper bound.
Definition: types.hpp:3006
bool sub_has_more
Whether there are more sub-orders to page.
Definition: types.hpp:3026
std::string grid_status
Grid running status.
Definition: types.hpp:2960
std::optional< Decimal > pullback_spread
Pullback spread.
Definition: types.hpp:2986
std::vector< GridOrderHistory > grid_order_history
Lifecycle history entries.
Definition: types.hpp:3028
std::optional< Decimal > trigger_percent_up
Upward trigger percent.
Definition: types.hpp:2980
std::optional< int64_t > created_at
Created time (unix timestamp)
Definition: types.hpp:3014
std::vector< GridOrderSubOrder > grid_sub_orders
Triggered sub-orders.
Definition: types.hpp:3024
std::string stock_name
Stock name.
Definition: types.hpp:2956
GridLimitEvent lower_limit_event
Action at the lower bound.
Definition: types.hpp:3008
std::string status
Order status.
Definition: types.hpp:2958
std::string sleeping_reason
Sleeping reason, if any.
Definition: types.hpp:2964
std::string order_id
Grid master order ID.
Definition: types.hpp:2952
std::optional< int64_t > expire_time
Expiry time (unix timestamp)
Definition: types.hpp:3020
std::optional< Decimal > current_base_price
Current base price.
Definition: types.hpp:2968
std::optional< Decimal > lower_limit_price
Lower price bound.
Definition: types.hpp:2972
std::optional< Decimal > rebound_spread
Rebound spread.
Definition: types.hpp:2990
std::string grid_order_type_up
Sell-side grid order type (GMO / GLO / GTG)
Definition: types.hpp:3036
std::optional< int64_t > updated_at
Last updated time (unix timestamp)
Definition: types.hpp:3016
std::optional< Decimal > trigger_spread_down
Downward trigger spread.
Definition: types.hpp:2978
std::string gtd
Expiry date (YYYY-MM-DD, GTD)
Definition: types.hpp:3022
std::string settlement_currency
Settlement currency.
Definition: types.hpp:3018
std::optional< Decimal > upper_limit_price
Upper price bound.
Definition: types.hpp:2970
GridTimeInForce time_in_force
Time in force.
Definition: types.hpp:2994
int32_t trigger_buy_depth
Buy-side order-book depth.
Definition: types.hpp:3012
std::optional< Decimal > trigger_sell_quantity
Quantity per sell trigger.
Definition: types.hpp:2998
bool history_has_more
Whether there are more history entries to page.
Definition: types.hpp:3030
std::string suspend_reason
Suspend reason, if any.
Definition: types.hpp:2962
std::optional< Decimal > upper_limit_quantity
Quantity handled at the upper bound.
Definition: types.hpp:3002
int32_t trigger_sell_depth
Sell-side order-book depth.
Definition: types.hpp:3010
std::string symbol
Security symbol (e.g. 700.HK)
Definition: types.hpp:2954
std::optional< Decimal > trigger_spread_up
Upward trigger spread.
Definition: types.hpp:2976
std::optional< Decimal > trigger_percent_down
Downward trigger percent.
Definition: types.hpp:2982
TriggerPriceType trigger_price_type
Trigger price type.
Definition: types.hpp:2974
int32_t rth
Regular trading hours flag.
Definition: types.hpp:3034
bool multiple_trigger
Whether a single grid level may trigger multiple times.
Definition: types.hpp:2992
std::optional< Decimal > rebound_percent
Rebound percent.
Definition: types.hpp:2988
std::optional< Decimal > trigger_quantity
Quantity per trigger.
Definition: types.hpp:2996
std::optional< Decimal > pullback_percent
Pullback percent.
Definition: types.hpp:2984
std::optional< Decimal > lower_limit_quantity
Quantity handled at the lower bound.
Definition: types.hpp:3004
std::optional< Decimal > submitted_base_price
Submitted base price.
Definition: types.hpp:2966
std::string grid_order_type_down
Buy-side grid order type (GMO / GLO / GTG)
Definition: types.hpp:3038
std::optional< Decimal > trigger_buy_quantity
Quantity per buy trigger.
Definition: types.hpp:3000
bool support_shortsell
Whether short selling is allowed.
Definition: types.hpp:3032
A grid order lifecycle-history entry carried in the grid order detail.
Definition: types.hpp:2935
std::optional< int64_t > created_at
Created time (unix timestamp)
Definition: types.hpp:2939
std::string reason
Additional reason detail, if any.
Definition: types.hpp:2945
std::string history_id
History entry ID (paging cursor)
Definition: types.hpp:2937
std::string status
Status at this point.
Definition: types.hpp:2941
std::string suspend_reason
Suspend reason, if any.
Definition: types.hpp:2943
A grid trading order (element of the list / by-ids responses).
Definition: types.hpp:2817
std::optional< Decimal > current_base_price
Current base price.
Definition: types.hpp:2833
int32_t trigger_times
Number of times the grid has triggered.
Definition: types.hpp:2885
std::string symbol
Security symbol (e.g. 700.HK)
Definition: types.hpp:2821
std::string status
Order status.
Definition: types.hpp:2827
std::optional< Decimal > total_sell_quantity
Accumulated sold quantity.
Definition: types.hpp:2889
std::string settlement_currency
Settlement currency.
Definition: types.hpp:2893
std::optional< Decimal > submitted_base_price
Submitted base price.
Definition: types.hpp:2831
std::string order_id
Grid master order ID.
Definition: types.hpp:2819
GridLimitEvent upper_limit_event
Action at the upper bound.
Definition: types.hpp:2879
std::optional< Decimal > lower_limit_quantity
Quantity handled at the lower bound.
Definition: types.hpp:2877
std::optional< Decimal > rebound_percent
Rebound percent.
Definition: types.hpp:2857
bool support_shortsell
Whether short selling is allowed.
Definition: types.hpp:2903
std::optional< Decimal > lower_limit_price
Lower price bound.
Definition: types.hpp:2841
GridLimitEvent lower_limit_event
Action at the lower bound.
Definition: types.hpp:2881
std::optional< Decimal > post_trigger_base_price
Base price after the last trigger.
Definition: types.hpp:2837
std::optional< Decimal > pullback_percent
Pullback percent.
Definition: types.hpp:2853
int32_t rth
Regular trading hours flag.
Definition: types.hpp:2901
std::optional< Decimal > trigger_percent_down
Downward trigger percent.
Definition: types.hpp:2851
std::string grid_order_type_up
Sell-side grid order type (GMO / GLO / GTG)
Definition: types.hpp:2905
std::optional< Decimal > rebound_spread
Rebound spread.
Definition: types.hpp:2859
std::string trigger_buy_order_type
Buy-side execution order type (e.g. MO)
Definition: types.hpp:2863
std::optional< Decimal > trigger_quantity
Quantity per trigger.
Definition: types.hpp:2869
std::optional< Decimal > upper_limit_quantity
Quantity handled at the upper bound.
Definition: types.hpp:2875
std::string grid_order_type_down
Buy-side grid order type (GMO / GLO / GTG)
Definition: types.hpp:2907
std::optional< Decimal > pre_trigger_base_price
Base price before the last trigger.
Definition: types.hpp:2835
std::optional< Decimal > trigger_buy_quantity
Quantity per buy trigger.
Definition: types.hpp:2873
std::optional< Decimal > trigger_spread_up
Upward trigger spread.
Definition: types.hpp:2845
std::optional< Decimal > trigger_spread_down
Downward trigger spread.
Definition: types.hpp:2847
std::optional< Decimal > total_profit_balance
Accumulated profit balance.
Definition: types.hpp:2891
std::string stock_name
Stock name.
Definition: types.hpp:2823
bool multiple_trigger
Whether a single grid level may trigger multiple times.
Definition: types.hpp:2883
int32_t trigger_buy_depth
Buy-side order-book depth.
Definition: types.hpp:2867
std::string market
Market.
Definition: types.hpp:2825
std::string gtd
Expiry date (YYYY-MM-DD, GTD)
Definition: types.hpp:2897
std::optional< Decimal > trigger_percent_up
Upward trigger percent.
Definition: types.hpp:2849
GridTimeInForce time_in_force
Time in force.
Definition: types.hpp:2895
std::optional< Decimal > total_buy_quantity
Accumulated bought quantity.
Definition: types.hpp:2887
std::optional< Decimal > pullback_spread
Pullback spread.
Definition: types.hpp:2855
std::string grid_status
Grid running status.
Definition: types.hpp:2829
std::string trigger_sell_order_type
Sell-side execution order type (e.g. MO)
Definition: types.hpp:2861
std::optional< int64_t > created_at
Created time (unix timestamp)
Definition: types.hpp:2899
TriggerPriceType trigger_price_type
Trigger price type.
Definition: types.hpp:2843
std::optional< Decimal > trigger_sell_quantity
Quantity per sell trigger.
Definition: types.hpp:2871
std::optional< Decimal > upper_limit_price
Upper price bound.
Definition: types.hpp:2839
int32_t trigger_sell_depth
Sell-side order-book depth.
Definition: types.hpp:2865
A triggered sub-order carried in the grid order detail.
Definition: types.hpp:2912
std::string id
Sub-order ID.
Definition: types.hpp:2914
std::optional< Decimal > executed_qty
Executed quantity.
Definition: types.hpp:2922
std::optional< Decimal > price
Order price.
Definition: types.hpp:2916
std::optional< int64_t > submitted_at
Submitted time (unix timestamp)
Definition: types.hpp:2928
std::optional< Decimal > quantity
Order quantity.
Definition: types.hpp:2920
std::string order_type
Order type.
Definition: types.hpp:2918
std::string status
Order status.
Definition: types.hpp:2926
int32_t rth
Regular trading hours flag.
Definition: types.hpp:2930
int32_t action
Buy / sell direction.
Definition: types.hpp:2924
Response for get grid trading orders (list) request.
Definition: types.hpp:3131
std::vector< GridOrder > grid_order
Grid orders.
Definition: types.hpp:3133
bool has_more
Whether there are more pages.
Definition: types.hpp:3135
Security (symbol) info used to build a grid order.
Definition: types.hpp:3112
std::vector< GridBidSize > bid_sizes
Price-step (bid-size) rule table.
Definition: types.hpp:3124
std::optional< Decimal > lot_size
Board lot size.
Definition: types.hpp:3118
std::optional< Decimal > sell_lot_size
Sell-side board lot size.
Definition: types.hpp:3122
GridChannelInfo channel_info
Channel / authorization info (strategy grant, RTH, currencies)
Definition: types.hpp:3126
std::optional< Decimal > last_done
Latest quote price.
Definition: types.hpp:3116
std::string name
Security name.
Definition: types.hpp:3114
std::optional< Decimal > buy_lot_size
Buy-side board lot size.
Definition: types.hpp:3120
Definition: types.hpp:2607
std::optional< GridLimitEvent > lower_limit_event
Definition: types.hpp:2639
std::optional< bool > support_shortsell
Whether short selling is allowed.
Definition: types.hpp:2647
GridTradeRule & with_depths(int32_t sell, int32_t buy)
Set the sell / buy order-book depths (0 = use the order type).
Definition: types.hpp:2696
GridTradeRule & with_expire_time(int64_t unix_seconds)
Set the expiry time (unix seconds), used with a GTD time-in-force.
Definition: types.hpp:2733
std::optional< Decimal > submitted_base_price
Base price the grid is anchored to.
Definition: types.hpp:2609
std::optional< std::string > grid_order_type_down
Buy-side order type when depth is 0 (GMO / GLO / GTG)
Definition: types.hpp:2653
std::optional< int32_t > trigger_sell_depth
Sell-side order-book depth (-5..5, 0 = use grid_order_type_up)
Definition: types.hpp:2641
GridTradeRule & with_order_types(std::string up, std::string down)
Set the sell / buy order types (GMO / GLO / GTG).
Definition: types.hpp:2704
std::optional< Decimal > upper_limit_price
Upper price bound.
Definition: types.hpp:2611
std::optional< Decimal > trigger_spread_down
Downward trigger spread (absolute)
Definition: types.hpp:2619
std::optional< GridTimeInForce > time_in_force
Time in force (Day / GoodTilCanceled / GoodTilDate)
Definition: types.hpp:2627
std::optional< bool > multiple_trigger
Whether a single grid level may trigger multiple times.
Definition: types.hpp:2625
std::optional< Decimal > lower_limit_price
Lower price bound.
Definition: types.hpp:2613
std::optional< int32_t > trigger_buy_depth
Buy-side order-book depth (-5..5, 0 = use grid_order_type_down)
Definition: types.hpp:2643
std::optional< GridLimitEvent > upper_limit_event
Definition: types.hpp:2636
std::optional< int64_t > expire_time
Expiry time (unix seconds), used with GTD.
Definition: types.hpp:2633
static GridTradeRule create(Decimal base_price, Decimal upper_price, Decimal lower_price, GridTrigger trigger, Decimal quantity, Decimal upper_quantity, Decimal lower_quantity, GridTimeInForce time_in_force)
Definition: types.hpp:2658
std::optional< std::string > grid_order_type_up
Sell-side order type when depth is 0 (GMO / GLO / GTG)
Definition: types.hpp:2651
GridTradeRule & with_multiple_trigger(bool value)
Allow a single grid level to trigger multiple times.
Definition: types.hpp:2712
std::optional< TriggerPriceType > trigger_price_type
Trigger price type (only Spread / Percent allowed)
Definition: types.hpp:2615
std::optional< Decimal > lower_limit_quantity
Quantity handled when the lower bound is reached.
Definition: types.hpp:2631
GridTradeRule & with_support_shortsell(bool value)
Allow short selling.
Definition: types.hpp:2719
std::optional< Decimal > trigger_quantity
Quantity per trigger.
Definition: types.hpp:2645
std::optional< Decimal > upper_limit_quantity
Quantity handled when the upper bound is reached.
Definition: types.hpp:2629
GridTradeRule & with_limit_events(GridLimitEvent upper, GridLimitEvent lower)
Set the actions taken at the upper / lower bounds.
Definition: types.hpp:2688
std::optional< Decimal > trigger_spread_up
Upward trigger spread (absolute)
Definition: types.hpp:2617
GridTradeRule & with_rth(int32_t value)
Set the regular-trading-hours flag (0 / 1 / 2).
Definition: types.hpp:2726
std::optional< Decimal > trigger_percent_down
Downward trigger percent.
Definition: types.hpp:2623
std::optional< Decimal > trigger_percent_up
Upward trigger percent.
Definition: types.hpp:2621
std::optional< int32_t > rth
Regular trading hours flag (0 / 1 / 2)
Definition: types.hpp:2649
Response for get grid trading trigger history request.
Definition: types.hpp:3140
std::vector< TriggerOrder > trigger_orders
Trigger history entries.
Definition: types.hpp:3142
bool has_more
Whether there are more pages.
Definition: types.hpp:3144
Definition: types.hpp:2573
Decimal up
Upward trigger threshold.
Definition: types.hpp:2585
Kind
Threshold interpretation kind.
Definition: types.hpp:2576
@ Spread
Trigger by absolute price spread.
@ Percent
Trigger by percent.
Decimal down
Downward trigger threshold.
Definition: types.hpp:2587
static GridTrigger spread(Decimal up, Decimal down)
Trigger by absolute price spread (up, down).
Definition: types.hpp:2595
Kind kind
Which interpretation the up / down values use.
Definition: types.hpp:2583
static GridTrigger percent(Decimal up, Decimal down)
Trigger by percent (up, down).
Definition: types.hpp:2590
Options for replace grid trading order request.
Definition: types.hpp:2753
GridTradeRule grid_trading_rule
Grid trading rule.
Definition: types.hpp:2757
std::string order_id
Grid master order ID.
Definition: types.hpp:2755
Options for submit grid trading order request.
Definition: types.hpp:2742
GridTradeRule grid_trading_rule
Grid trading rule.
Definition: types.hpp:2748
std::string symbol
Security symbol (e.g. 700.HK)
Definition: types.hpp:2744
std::string settlement_currency
Settlement currency.
Definition: types.hpp:2746
Response for submit grid trading order request.
Definition: types.hpp:2810
std::string order_id
Grid master order id.
Definition: types.hpp:2812
A grid trigger-history entry (one triggered order).
Definition: types.hpp:3043
GridTimeInForce time_in_force
Time in force.
Definition: types.hpp:3077
std::string status
Order status.
Definition: types.hpp:3047
std::string msg
Rejection reason, if any.
Definition: types.hpp:3069
std::optional< Decimal > executed_qty
Executed total quantity.
Definition: types.hpp:3059
std::string currency
Settlement currency.
Definition: types.hpp:3071
int32_t trigger_status
Conditional trigger status.
Definition: types.hpp:3083
std::optional< Decimal > executed_price
Executed average price.
Definition: types.hpp:3057
std::optional< Decimal > quantity
Order quantity.
Definition: types.hpp:3055
std::optional< int64_t > trigger_at
Trigger time (unix timestamp)
Definition: types.hpp:3081
std::optional< int64_t > submitted_at
Submitted time (unix timestamp)
Definition: types.hpp:3061
int32_t action
Buy / sell direction.
Definition: types.hpp:3063
std::optional< Decimal > last_done
Latest quote price.
Definition: types.hpp:3073
std::string id
Triggered order ID.
Definition: types.hpp:3045
std::string name
Stock name.
Definition: types.hpp:3049
std::optional< int64_t > updated_at
Last updated time (unix timestamp)
Definition: types.hpp:3075
std::string order_type
Order type.
Definition: types.hpp:3065
std::optional< Decimal > price
Order price.
Definition: types.hpp:3053
std::string symbol
Security symbol (e.g. 700.HK)
Definition: types.hpp:3051
std::string gtd
Expiry date (YYYY-MM-DD, GTD)
Definition: types.hpp:3079
std::optional< Decimal > trigger_price
Trigger price.
Definition: types.hpp:3067
Intraday A/H premium kline series.
Definition: types.hpp:3380
std::vector< AhPremiumKline > klines
Definition: types.hpp:3381
A/H premium candlestick data point.
Definition: types.hpp:3361
std::string currency_rate
Definition: types.hpp:3366
std::string hprice
Definition: types.hpp:3364
std::string hpreclose
Definition: types.hpp:3365
int64_t timestamp
Definition: types.hpp:3369
std::string price_spread
Definition: types.hpp:3368
std::string ahpremium_rate
Definition: types.hpp:3367
std::string aprice
Definition: types.hpp:3362
std::string apreclose
Definition: types.hpp:3363
Historical A/H premium kline series.
Definition: types.hpp:3374
std::vector< AhPremiumKline > klines
Definition: types.hpp:3375
A single anomaly (unusual market movement) alert item.
Definition: types.hpp:3503
std::string alert_name
Definition: types.hpp:3506
int64_t alert_time
Definition: types.hpp:3507
std::string symbol
Definition: types.hpp:3504
std::string name
Definition: types.hpp:3505
int32_t emotion
Definition: types.hpp:3509
std::vector< std::string > change_values
Definition: types.hpp:3508
Response containing anomaly alert items.
Definition: types.hpp:3514
std::vector< AnomalyItem > changes
Definition: types.hpp:3516
bool all_off
Definition: types.hpp:3515
Holding change figures over multiple periods for a broker.
Definition: types.hpp:3319
std::string chg_5
Definition: types.hpp:3322
std::string chg_60
Definition: types.hpp:3324
std::string chg_1
Definition: types.hpp:3321
std::string chg_20
Definition: types.hpp:3323
std::string value
Definition: types.hpp:3320
Historical daily broker holding series.
Definition: types.hpp:3355
std::vector< BrokerHoldingDailyItem > list
Definition: types.hpp:3356
One day's broker holding snapshot.
Definition: types.hpp:3346
std::string chg
Definition: types.hpp:3350
std::string holding
Definition: types.hpp:3348
std::string ratio
Definition: types.hpp:3349
std::string date
Definition: types.hpp:3347
Full broker holding detail with historical change data.
Definition: types.hpp:3339
std::vector< BrokerHoldingDetailItem > list
Definition: types.hpp:3340
std::string updated_at
Definition: types.hpp:3341
Detailed holding entry for one broker including ratio and share changes.
Definition: types.hpp:3329
std::string name
Definition: types.hpp:3330
BrokerHoldingChanges ratio
Definition: types.hpp:3332
bool strong
Definition: types.hpp:3334
BrokerHoldingChanges shares
Definition: types.hpp:3333
std::string parti_number
Definition: types.hpp:3331
One broker's holding entry in a top-holders list.
Definition: types.hpp:3302
bool strong
Definition: types.hpp:3306
std::string name
Definition: types.hpp:3303
std::string parti_number
Definition: types.hpp:3304
std::string chg
Definition: types.hpp:3305
Top broker holders (buy and sell sides).
Definition: types.hpp:3311
std::vector< BrokerHoldingEntry > sell
Definition: types.hpp:3313
std::string updated_at
Definition: types.hpp:3314
std::vector< BrokerHoldingEntry > buy
Definition: types.hpp:3312
One constituent stock of an index.
Definition: types.hpp:3521
bool delay
Definition: types.hpp:3534
std::string last_done
Definition: types.hpp:3524
std::vector< std::string > tags
Definition: types.hpp:3530
std::string intro
Definition: types.hpp:3531
std::string prev_close
Definition: types.hpp:3525
std::string amount
Definition: types.hpp:3528
std::string circulating_shares
Definition: types.hpp:3533
int32_t trade_status
Definition: types.hpp:3536
std::string symbol
Definition: types.hpp:3522
std::string name
Definition: types.hpp:3523
std::string market
Definition: types.hpp:3532
std::string inflow
Definition: types.hpp:3526
std::string total_shares
Definition: types.hpp:3529
std::string balance
Definition: types.hpp:3527
std::string chg
Definition: types.hpp:3535
Index constituent stocks with rise/fall/flat counts.
Definition: types.hpp:3541
std::vector< ConstituentStock > stocks
Definition: types.hpp:3545
int32_t fall_num
Definition: types.hpp:3542
int32_t rise_num
Definition: types.hpp:3544
int32_t flat_num
Definition: types.hpp:3543
Response containing trading status for all markets.
Definition: types.hpp:3296
std::vector< MarketTimeItem > market_time
Definition: types.hpp:3297
Current trading status and timestamps for one market.
Definition: types.hpp:3284
int32_t delay_trade_status
Definition: types.hpp:3288
int32_t delay_sub_status
Definition: types.hpp:3291
longbridge::Market market
Definition: types.hpp:3285
int32_t sub_status
Definition: types.hpp:3290
std::string delay_timestamp
Definition: types.hpp:3289
int32_t trade_status
Definition: types.hpp:3286
std::string timestamp
Definition: types.hpp:3287
Response for rank_categories.
Definition: types.hpp:3497
std::vector< RankCategory > categories
Definition: types.hpp:3498
A top-level rank category grouping sub-categories.
Definition: types.hpp:3487
std::string name
Display name (e.g. "çƒåº¦æŽ’行")
Definition: types.hpp:3491
std::string key
Top-level key (e.g. "hot")
Definition: types.hpp:3489
std::vector< RankSubCategory > sub_categories
Definition: types.hpp:3492
One ranked security item.
Definition: types.hpp:3448
std::string volume_rate
Definition: types.hpp:3463
std::string change
Definition: types.hpp:3454
std::string pb_ttm
Definition: types.hpp:3464
std::string pre_post_chg
Definition: types.hpp:3459
std::string turnover_rate
Definition: types.hpp:3462
std::string code
Definition: types.hpp:3450
std::string last_done
Definition: types.hpp:3452
std::string pre_post_price
Definition: types.hpp:3458
std::string name
Definition: types.hpp:3451
std::string industry
Definition: types.hpp:3457
std::string chg
Definition: types.hpp:3453
std::string market_cap
Definition: types.hpp:3456
std::string amplitude
Definition: types.hpp:3460
std::string symbol
Definition: types.hpp:3449
std::string inflow
Definition: types.hpp:3455
std::string five_day_chg
Definition: types.hpp:3461
Response for rank_list.
Definition: types.hpp:3469
bool bmp
Definition: types.hpp:3470
std::vector< RankListItem > lists
Definition: types.hpp:3471
One leaf rank sub-category.
Definition: types.hpp:3476
std::string key
Sub-category key (e.g. "hot_all-us"). Pass to rank_list.
Definition: types.hpp:3478
std::string market
Market code (e.g. "US", "HK")
Definition: types.hpp:3482
std::string name
Display name.
Definition: types.hpp:3480
One top-movers event entry.
Definition: types.hpp:3430
std::string post
Definition: types.hpp:3435
TopMoversStock stock
Definition: types.hpp:3434
int64_t alert_type
Definition: types.hpp:3433
std::string alert_reason
Definition: types.hpp:3432
std::string timestamp
Definition: types.hpp:3431
Response for top_movers.
Definition: types.hpp:3440
std::string next_params
Pagination cursor (empty string means no more pages)
Definition: types.hpp:3443
std::vector< TopMoversEvent > events
Definition: types.hpp:3441
Stock information within a top-movers event.
Definition: types.hpp:3416
std::string symbol
Definition: types.hpp:3417
std::vector< std::string > labels
Definition: types.hpp:3425
std::string name
Definition: types.hpp:3419
std::string code
Definition: types.hpp:3418
std::string change
Definition: types.hpp:3421
std::string full_name
Definition: types.hpp:3420
std::string last_done
Definition: types.hpp:3422
std::string market
Definition: types.hpp:3423
std::string logo
Definition: types.hpp:3424
Trade volume and amount aggregated at one price level.
Definition: types.hpp:3386
std::string buy_amount
Definition: types.hpp:3387
std::string price
Definition: types.hpp:3389
std::string sell_amount
Definition: types.hpp:3390
std::string neutral_amount
Definition: types.hpp:3388
Aggregate buy/sell/neutral trade statistics for a security.
Definition: types.hpp:3395
std::string total_amount
Definition: types.hpp:3402
std::string timestamp
Definition: types.hpp:3401
std::string trades_count
Definition: types.hpp:3404
std::string preclose
Definition: types.hpp:3399
std::string neutral
Definition: types.hpp:3398
std::string buy
Definition: types.hpp:3397
std::string sell
Definition: types.hpp:3400
std::vector< std::string > trade_date
Definition: types.hpp:3403
std::string avgprice
Definition: types.hpp:3396
Response for trade statistics including per-price-level breakdown.
Definition: types.hpp:3409
std::vector< TradePriceLevel > trades
Definition: types.hpp:3411
TradeStatistics statistics
Definition: types.hpp:3410
Brokers.
Definition: types.hpp:261
std::vector< int32_t > broker_ids
Broker IDs.
Definition: types.hpp:265
int32_t position
Position.
Definition: types.hpp:263
Candlestick.
Definition: types.hpp:589
int64_t timestamp
Timestamp.
Definition: types.hpp:603
TradeSession trade_session
Trade session.
Definition: types.hpp:605
Decimal turnover
Turnover.
Definition: types.hpp:601
Decimal close
Close price.
Definition: types.hpp:591
Decimal high
High price.
Definition: types.hpp:597
Decimal open
Open price.
Definition: types.hpp:593
int64_t volume
Volume.
Definition: types.hpp:599
Decimal low
Low price.
Definition: types.hpp:595
Capital distribution.
Definition: types.hpp:809
Decimal large
Large order.
Definition: types.hpp:811
Decimal small
Small order.
Definition: types.hpp:815
Decimal medium
Medium order.
Definition: types.hpp:813
Capital distribution response.
Definition: types.hpp:820
int64_t timestamp
Time.
Definition: types.hpp:822
CapitalDistribution capital_in
Inflow capital data.
Definition: types.hpp:824
CapitalDistribution capital_out
Outflow capital data.
Definition: types.hpp:826
Capital flow line.
Definition: types.hpp:800
Decimal inflow
Inflow capital data.
Definition: types.hpp:802
int64_t timestamp
Time.
Definition: types.hpp:804
An request for create watchlist group.
Definition: types.hpp:868
std::string name
Group name.
Definition: types.hpp:870
std::vector< std::string > securities
Securities.
Definition: types.hpp:872
Definition: types.hpp:237
std::optional< Decimal > price
Price.
Definition: types.hpp:241
int32_t position
Position.
Definition: types.hpp:239
int64_t volume
Volume.
Definition: types.hpp:243
int64_t order_num
Number of orders.
Definition: types.hpp:245
Derivative type.
Definition: types.hpp:133
uint8_t value
Definition: types.hpp:134
Filing item.
Definition: types.hpp:1312
std::string description
Description.
Definition: types.hpp:1318
std::string file_name
File name.
Definition: types.hpp:1320
std::string id
Filing ID.
Definition: types.hpp:1314
std::string title
Title.
Definition: types.hpp:1316
std::vector< std::string > file_urls
File URLs.
Definition: types.hpp:1322
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:1324
History market temperature response.
Definition: types.hpp:1303
Granularity granularity
Granularity.
Definition: types.hpp:1305
std::vector< MarketTemperature > records
Records.
Definition: types.hpp:1307
Intraday line.
Definition: types.hpp:718
Decimal avg_price
Definition: types.hpp:723
Decimal turnover
Definition: types.hpp:722
int64_t timestamp
Definition: types.hpp:720
Decimal price
Definition: types.hpp:719
int64_t volume
Definition: types.hpp:721
Issuer info.
Definition: types.hpp:759
int32_t issuer_id
Issuer ID.
Definition: types.hpp:761
std::string name_en
Issuer name (en)
Definition: types.hpp:765
std::string name_cn
Issuer name (zh-CN)
Definition: types.hpp:763
std::string name_hk
Issuer name (zh-HK)
Definition: types.hpp:767
Market temperature.
Definition: types.hpp:1275
int32_t temperature
Temperature value.
Definition: types.hpp:1277
int32_t valuation
Market valuation.
Definition: types.hpp:1281
std::string description
Temperature description.
Definition: types.hpp:1279
int32_t sentiment
Market sentiment.
Definition: types.hpp:1283
int64_t timestamp
Time.
Definition: types.hpp:1285
Market trading days.
Definition: types.hpp:791
std::vector< Date > half_trading_days
Half trading days.
Definition: types.hpp:795
std::vector< Date > trading_days
Trading days.
Definition: types.hpp:793
Market trading session.
Definition: types.hpp:782
std::vector< TradingSessionInfo > trade_session
Trading session.
Definition: types.hpp:786
Market market
Market.
Definition: types.hpp:784
Definition: types.hpp:738
Decimal strike_price
Strike price.
Definition: types.hpp:744
int32_t days_to_expiry
Definition: types.hpp:754
std::string symbol
Option contract code, in ticker.region format.
Definition: types.hpp:740
Date expiry_date
Expiry date, in US Eastern time.
Definition: types.hpp:742
OptionDirection direction
Contract direction.
Definition: types.hpp:746
OptionStandardAttr standard_attr
Definition: types.hpp:751
OptionExpiryCycleType option_type
Special expiration cycle of the contract.
Definition: types.hpp:748
Quote of option.
Definition: types.hpp:514
Decimal prev_close
Yesterday's close.
Definition: types.hpp:519
TradeStatus trade_status
Security trading status.
Definition: types.hpp:533
OptionDirection direction
Option direction.
Definition: types.hpp:549
int64_t open_interest
Number of open positions.
Definition: types.hpp:537
int64_t timestamp
Time of latest price.
Definition: types.hpp:527
Decimal contract_size
Contract size.
Definition: types.hpp:547
Decimal contract_multiplier
Contract multiplier.
Definition: types.hpp:543
Decimal turnover
Turnover.
Definition: types.hpp:531
Decimal strike_price
Strike price.
Definition: types.hpp:541
OptionType contract_type
Option type.
Definition: types.hpp:545
Date expiry_date
Exprity date.
Definition: types.hpp:539
int64_t volume
Volume.
Definition: types.hpp:529
Decimal low
Low.
Definition: types.hpp:525
Decimal last_done
Latest price.
Definition: types.hpp:517
Decimal historical_volatility
Underlying security historical volatility of the option.
Definition: types.hpp:551
Decimal high
High.
Definition: types.hpp:523
Decimal implied_volatility
Implied volatility.
Definition: types.hpp:535
std::string symbol
Security code.
Definition: types.hpp:515
Decimal open
Open.
Definition: types.hpp:521
std::string underlying_symbol
Underlying security symbol of the option.
Definition: types.hpp:553
Definition: types.hpp:1407
std::string symbol
Definition: types.hpp:1408
std::vector< OptionVolumeDailyStat > stats
Definition: types.hpp:1409
Definition: types.hpp:1393
int64_t total_open_interest
Definition: types.hpp:1401
std::string symbol
Definition: types.hpp:1394
int64_t put_open_interest
Definition: types.hpp:1399
double pc_oi
Definition: types.hpp:1403
int64_t put_volume
Definition: types.hpp:1397
double pc_vol
Definition: types.hpp:1402
Date date
Definition: types.hpp:1395
int64_t call_volume
Definition: types.hpp:1396
int64_t call_open_interest
Definition: types.hpp:1398
int64_t total_volume
Definition: types.hpp:1400
Definition: types.hpp:1386
std::string symbol
Definition: types.hpp:1387
int64_t call_volume
Definition: types.hpp:1388
int64_t put_volume
Definition: types.hpp:1389
Definition: types.hpp:705
std::string name_hk
Participant name (zh-HK)
Definition: types.hpp:713
std::string name_en
Participant name (en)
Definition: types.hpp:711
std::vector< int32_t > broker_ids
Broker IDs.
Definition: types.hpp:707
std::string name_cn
Participant name (zh-CN)
Definition: types.hpp:709
Quote of US pre/post market.
Definition: types.hpp:417
int64_t timestamp
Time of latest price.
Definition: types.hpp:421
Decimal low
Low.
Definition: types.hpp:429
Decimal turnover
Turnover.
Definition: types.hpp:425
Decimal high
High.
Definition: types.hpp:427
int64_t volume
Volume.
Definition: types.hpp:423
Decimal last_done
Latest price.
Definition: types.hpp:419
Decimal prev_close
Close of the last trade session.
Definition: types.hpp:431
Brokers message.
Definition: types.hpp:270
std::vector< Brokers > bid_brokers
Bid brokers.
Definition: types.hpp:276
std::vector< Brokers > ask_brokers
Ask brokers.
Definition: types.hpp:274
std::string symbol
Security code.
Definition: types.hpp:272
Candlestick updated message.
Definition: types.hpp:610
Period period
Period type.
Definition: types.hpp:614
bool is_confirmed
Is confirmed.
Definition: types.hpp:618
std::string symbol
Security code.
Definition: types.hpp:612
Candlestick candlestick
Candlestick.
Definition: types.hpp:616
Depth message.
Definition: types.hpp:250
std::vector< Depth > asks
Ask depth.
Definition: types.hpp:254
std::string symbol
Security code.
Definition: types.hpp:252
std::vector< Depth > bids
Bid depth.
Definition: types.hpp:256
Quote message.
Definition: types.hpp:209
Decimal high
High.
Definition: types.hpp:217
TradeStatus trade_status
Security trading status.
Definition: types.hpp:227
int64_t timestamp
Time of latest price.
Definition: types.hpp:221
Decimal last_done
Latest price.
Definition: types.hpp:213
Decimal turnover
Turnover.
Definition: types.hpp:225
int64_t current_volume
Increase volume between pushes.
Definition: types.hpp:231
int64_t volume
Volume.
Definition: types.hpp:223
Decimal urrent_turnover
Increase turnover between pushes.
Definition: types.hpp:233
TradeSession trade_session
Trade session.
Definition: types.hpp:229
Decimal low
Low.
Definition: types.hpp:219
Decimal open
Open.
Definition: types.hpp:215
std::string symbol
Security code.
Definition: types.hpp:211
Trades message.
Definition: types.hpp:580
std::string symbol
Security code.
Definition: types.hpp:582
std::vector< Trade > trades
Trades data.
Definition: types.hpp:584
Quote package detail.
Definition: types.hpp:1251
int64_t start_at
Start at.
Definition: types.hpp:1259
std::string description
Description.
Definition: types.hpp:1257
std::string key
Key.
Definition: types.hpp:1253
int64_t end_at
End at.
Definition: types.hpp:1261
std::string name
Name.
Definition: types.hpp:1255
Real-time quote.
Definition: types.hpp:890
Decimal high
High.
Definition: types.hpp:898
Decimal open
Open.
Definition: types.hpp:896
std::string symbol
Security code.
Definition: types.hpp:892
Decimal turnover
Turnover.
Definition: types.hpp:906
int64_t timestamp
Time of latest price.
Definition: types.hpp:902
int64_t volume
Volume.
Definition: types.hpp:904
Decimal last_done
Latest price.
Definition: types.hpp:894
TradeStatus trade_status
Security trading status.
Definition: types.hpp:908
Decimal low
Low.
Definition: types.hpp:900
Security brokers.
Definition: types.hpp:697
std::vector< Brokers > bid_brokers
Bid brokers.
Definition: types.hpp:701
std::vector< Brokers > ask_brokers
Ask brokers.
Definition: types.hpp:699
Security calc index response.
Definition: types.hpp:998
std::optional< Decimal > balance_point
Breakeven point.
Definition: types.hpp:1068
std::optional< Decimal > change_rate
Change ratio.
Definition: types.hpp:1006
std::optional< Decimal > lower_strike_price
Lower bound price.
Definition: types.hpp:1044
std::optional< Date > expiry_date
Expiry date.
Definition: types.hpp:1038
std::optional< Decimal > theta
Definition: types.hpp:1080
std::optional< Decimal > conversion_ratio
Conversion ratio.
Definition: types.hpp:1066
std::optional< Decimal > leverage_ratio
Leverage ratio.
Definition: types.hpp:1064
std::optional< Decimal > five_day_change_rate
Five days change ratio.
Definition: types.hpp:1030
std::optional< int64_t > open_interest
Open interest.
Definition: types.hpp:1070
std::optional< Decimal > ten_day_change_rate
Ten days change ratio.
Definition: types.hpp:1032
std::optional< Decimal > volume_ratio
Volume ratio.
Definition: types.hpp:1022
std::string symbol
Security code.
Definition: types.hpp:1000
std::optional< Decimal > call_price
Call price.
Definition: types.hpp:1058
std::optional< Decimal > turnover
Turnover.
Definition: types.hpp:1010
std::optional< Decimal > warrant_delta
Warrant delta.
Definition: types.hpp:1056
std::optional< Decimal > ytd_change_rate
Year-to-date change ratio.
Definition: types.hpp:1012
std::optional< int64_t > volume
Volume.
Definition: types.hpp:1008
std::optional< Decimal > capital_flow
Capital flow.
Definition: types.hpp:1018
std::optional< int64_t > outstanding_qty
Outstanding quantity.
Definition: types.hpp:1046
std::optional< Decimal > pe_ttm_ratio
PE (TTM)
Definition: types.hpp:1024
std::optional< Decimal > last_done
Latest price.
Definition: types.hpp:1002
std::optional< Decimal > delta
Definition: types.hpp:1073
std::optional< Decimal > vega
Definition: types.hpp:1084
std::optional< Decimal > itm_otm
In/out of the bound.
Definition: types.hpp:1052
std::optional< Decimal > outstanding_ratio
Outstanding ratio.
Definition: types.hpp:1048
std::optional< Decimal > strike_price
Strike price.
Definition: types.hpp:1040
std::optional< Decimal > implied_volatility
Implied volatility.
Definition: types.hpp:1054
std::optional< Decimal > half_year_change_rate
Half year change ratio.
Definition: types.hpp:1034
std::optional< Decimal > amplitude
Amplitude.
Definition: types.hpp:1020
std::optional< Decimal > premium
Premium.
Definition: types.hpp:1050
std::optional< Decimal > effective_leverage
Effective leverage.
Definition: types.hpp:1062
std::optional< Decimal > turnover_rate
Turnover rate.
Definition: types.hpp:1014
std::optional< Decimal > upper_strike_price
Upper bound price.
Definition: types.hpp:1042
std::optional< Decimal > rho
Definition: types.hpp:1088
std::optional< Decimal > dividend_ratio_ttm
Dividend ratio (TTM)
Definition: types.hpp:1028
std::optional< Decimal > gamma
Definition: types.hpp:1076
std::optional< Decimal > change_value
Change value.
Definition: types.hpp:1004
std::optional< Decimal > total_market_value
Total market value.
Definition: types.hpp:1016
std::optional< Decimal > to_call_price
Price interval from the call price.
Definition: types.hpp:1060
std::optional< Decimal > five_minutes_change_rate
Five minutes change ratio.
Definition: types.hpp:1036
std::optional< Decimal > pb_ratio
PB.
Definition: types.hpp:1026
Security depth.
Definition: types.hpp:688
std::vector< Depth > asks
Ask depth.
Definition: types.hpp:690
std::vector< Depth > bids
Bid depth.
Definition: types.hpp:692
Security.
Definition: types.hpp:340
std::string name_hk
Security name (zh-HK)
Definition: types.hpp:348
std::string symbol
Security code.
Definition: types.hpp:342
std::string name_cn
Security name (zh-CN)
Definition: types.hpp:344
std::string name_en
Security name (en)
Definition: types.hpp:346
Quote of securitity.
Definition: types.hpp:436
Decimal last_done
Latest price.
Definition: types.hpp:440
Decimal turnover
Turnover.
Definition: types.hpp:454
Decimal prev_close
Yesterday's close.
Definition: types.hpp:442
std::string symbol
Security code.
Definition: types.hpp:438
TradeStatus trade_status
Security trading status.
Definition: types.hpp:456
Decimal high
High.
Definition: types.hpp:446
std::optional< PrePostQuote > post_market_quote
Quote of US post market.
Definition: types.hpp:460
std::optional< PrePostQuote > pre_market_quote
Quote of US pre market.
Definition: types.hpp:458
int64_t volume
Volume.
Definition: types.hpp:452
std::optional< PrePostQuote > overnight_quote
Quote of US overnight market.
Definition: types.hpp:462
int64_t timestamp
Time of latest price.
Definition: types.hpp:450
Decimal open
Open.
Definition: types.hpp:444
Decimal low
Low.
Definition: types.hpp:448
The basic information of securities.
Definition: types.hpp:353
std::string currency
Trading currency.
Definition: types.hpp:365
int64_t hk_shares
HK shares (only HK stocks)
Definition: types.hpp:373
std::string symbol
Security code.
Definition: types.hpp:355
std::string name_cn
Security name (zh-CN)
Definition: types.hpp:357
int64_t total_shares
Total shares.
Definition: types.hpp:369
Decimal eps
Earnings per share.
Definition: types.hpp:375
std::string name_hk
Security name (zh-HK)
Definition: types.hpp:361
Decimal eps_ttm
Earnings per share (TTM)
Definition: types.hpp:377
Decimal dividend_yield
Dividend (per share), not the dividend yield (ratio).
Definition: types.hpp:381
SecurityBoard board
Board.
Definition: types.hpp:385
std::string exchange
Exchange which the security belongs to.
Definition: types.hpp:363
int32_t lot_size
Lot size.
Definition: types.hpp:367
DerivativeType stock_derivatives
Types of supported derivatives.
Definition: types.hpp:383
int64_t circulating_shares
Circulating shares.
Definition: types.hpp:371
std::string name_en
Security name (en)
Definition: types.hpp:359
Decimal bps
Net assets per share.
Definition: types.hpp:379
One short-position record, unified for US and HK markets.
Definition: types.hpp:1329
std::string timestamp
Trading date in RFC 3339 format.
Definition: types.hpp:1331
std::string close
Closing price.
Definition: types.hpp:1335
std::string days_to_cover
[US] Days-to-cover ratio
Definition: types.hpp:1341
std::string cost
[HK] Closing price (HK naming)
Definition: types.hpp:1347
std::string current_shares_short
[US] Number of short shares outstanding
Definition: types.hpp:1337
std::string rate
Short ratio.
Definition: types.hpp:1333
std::string balance
[HK] Short position balance
Definition: types.hpp:1345
std::string amount
[HK] Short sale amount (HKD)
Definition: types.hpp:1343
std::string avg_daily_share_volume
[US] Average daily share volume
Definition: types.hpp:1339
Short interest / positions response (HK or US).
Definition: types.hpp:1352
std::vector< ShortPositionsItem > data
Short position records.
Definition: types.hpp:1354
One short-trade record, unified for US and HK markets.
Definition: types.hpp:1359
std::string rate
Short ratio.
Definition: types.hpp:1363
std::string total_amount
[US] Total short amount
Definition: types.hpp:1371
std::string balance
[HK] Short position balance
Definition: types.hpp:1375
std::string amount
[HK] Short sale turnover amount (HKD)
Definition: types.hpp:1373
std::string close
Closing price.
Definition: types.hpp:1365
std::string timestamp
Trading date in RFC 3339 format.
Definition: types.hpp:1361
std::string ny_amount
[US] NYSE short sale volume
Definition: types.hpp:1369
std::string nus_amount
[US] NASDAQ short sale volume
Definition: types.hpp:1367
Short trade records response (HK or US).
Definition: types.hpp:1380
std::vector< ShortTradesItem > data
Short trade records.
Definition: types.hpp:1382
Subscription.
Definition: types.hpp:185
SubFlags sub_types
Subscription flags.
Definition: types.hpp:189
std::vector< Period > candlesticks
Candlesticks.
Definition: types.hpp:191
std::string symbol
Security code.
Definition: types.hpp:187
Trade.
Definition: types.hpp:569
TradeSession trade_session
Definition: types.hpp:575
Decimal price
Definition: types.hpp:570
int64_t timestamp
Definition: types.hpp:572
std::string trade_type
Definition: types.hpp:573
int64_t volume
Definition: types.hpp:571
TradeDirection direction
Definition: types.hpp:574
Definition: types.hpp:771
Time end_time
End trading time.
Definition: types.hpp:775
Time begin_time
Being trading time.
Definition: types.hpp:773
TradeSession trade_session
Trading session.
Definition: types.hpp:777
An request for update watchlist group.
Definition: types.hpp:877
int64_t id
Group id.
Definition: types.hpp:879
std::optional< std::vector< std::string > > securities
Securities.
Definition: types.hpp:883
std::optional< std::string > name
Group name.
Definition: types.hpp:881
SecuritiesUpdateMode mode
Securities Update Mode.
Definition: types.hpp:885
Warrant info.
Definition: types.hpp:1186
std::optional< Decimal > conversion_ratio
Conversion ratio.
Definition: types.hpp:1235
std::string name
Security name.
Definition: types.hpp:1192
std::optional< Decimal > to_call_price
Price interval from the call price.
Definition: types.hpp:1229
std::optional< Decimal > upper_strike_price
Upper strike price.
Definition: types.hpp:1211
WarrantType warrant_type
Warrant type.
Definition: types.hpp:1190
std::string symbol
Security code.
Definition: types.hpp:1188
int64_t volume
Volume.
Definition: types.hpp:1200
Decimal turnover
Turnover.
Definition: types.hpp:1202
std::optional< Decimal > implied_volatility
Implied volatility.
Definition: types.hpp:1223
Decimal change_value
Quote change.
Definition: types.hpp:1198
std::optional< Decimal > delta
Delta.
Definition: types.hpp:1225
std::optional< Decimal > balance_point
Breakeven point.
Definition: types.hpp:1237
std::optional< Decimal > call_price
Call price.
Definition: types.hpp:1227
int64_t outstanding_qty
Outstanding quantity.
Definition: types.hpp:1215
Decimal change_rate
Quote change rate.
Definition: types.hpp:1196
std::optional< Date > expiry_date
Definition: types.hpp:1207
WarrantStatus status
Status.
Definition: types.hpp:1239
Decimal leverage_ratio
Leverage ratio.
Definition: types.hpp:1233
Decimal last_done
Latest price.
Definition: types.hpp:1194
std::optional< Decimal > itm_otm
In/out of the bound.
Definition: types.hpp:1221
Decimal premium
Premium.
Definition: types.hpp:1219
std::optional< Decimal > strike_price
Strike price.
Definition: types.hpp:1209
std::optional< Decimal > effective_leverage
Effective leverage.
Definition: types.hpp:1231
std::optional< Decimal > lower_strike_price
Lower strike price.
Definition: types.hpp:1213
Decimal outstanding_ratio
Outstanding ratio.
Definition: types.hpp:1217
Quote of warrant.
Definition: types.hpp:640
Decimal strike_price
Strike price.
Definition: types.hpp:675
Date expiry_date
Exprity date.
Definition: types.hpp:663
Decimal open
Open.
Definition: types.hpp:647
Decimal turnover
Turnover.
Definition: types.hpp:657
int64_t volume
Volume.
Definition: types.hpp:655
WarrantType category
Warrant type.
Definition: types.hpp:673
Decimal low
Low.
Definition: types.hpp:651
TradeStatus trade_status
Security trading status.
Definition: types.hpp:659
Decimal upper_strike_price
Upper bound price.
Definition: types.hpp:677
int64_t outstanding_quantity
Outstanding quantity.
Definition: types.hpp:669
Decimal prev_close
Yesterday's close.
Definition: types.hpp:645
int64_t timestamp
Time of latest price.
Definition: types.hpp:653
Date last_trade_date
Last tradalbe date.
Definition: types.hpp:665
std::string symbol
Security code.
Definition: types.hpp:641
Decimal high
High.
Definition: types.hpp:649
Decimal lower_strike_price
Lower bound price.
Definition: types.hpp:679
Decimal last_done
Latest price.
Definition: types.hpp:643
Decimal conversion_ratio
Conversion ratio.
Definition: types.hpp:671
Decimal implied_volatility
Implied volatility.
Definition: types.hpp:661
Decimal outstanding_ratio
Outstanding ratio.
Definition: types.hpp:667
std::string underlying_symbol
Underlying security symbol of the warrant.
Definition: types.hpp:683
Decimal call_price
Call price.
Definition: types.hpp:681
Watchlist group.
Definition: types.hpp:846
int64_t id
Group id.
Definition: types.hpp:848
std::vector< WatchlistSecurity > securities
Securities.
Definition: types.hpp:852
std::string name
Group name.
Definition: types.hpp:850
Watchlist security.
Definition: types.hpp:831
std::string symbol
Security symbol.
Definition: types.hpp:833
std::optional< Decimal > watched_price
Watched price.
Definition: types.hpp:839
std::string name
Security name.
Definition: types.hpp:837
int64_t watched_at
Watched time.
Definition: types.hpp:841
Market market
Market.
Definition: types.hpp:835
Response for SharelistContext::detail.
Definition: types.hpp:4644
SharelistScopes scopes
Subscription scope flags for the current user.
Definition: types.hpp:4648
SharelistInfo sharelist
Sharelist info including constituent stocks.
Definition: types.hpp:4646
Sharelist metadata and constituent stocks.
Definition: types.hpp:4600
int64_t subscribers_count
Number of subscribers.
Definition: types.hpp:4610
int64_t created_at
Creation time (Unix timestamp)
Definition: types.hpp:4612
std::string this_year_chg
YTD change percentage.
Definition: types.hpp:4616
std::string description
Description.
Definition: types.hpp:4606
int64_t id
Sharelist ID.
Definition: types.hpp:4602
std::string cover
Cover image URL.
Definition: types.hpp:4608
std::vector< SharelistStock > stocks
Constituent stocks.
Definition: types.hpp:4620
int32_t sharelist_type
Sharelist type: 0=regular, 3=official, 4=industry.
Definition: types.hpp:4626
std::string name
Name.
Definition: types.hpp:4604
bool subscribed
Whether the current user is subscribed.
Definition: types.hpp:4622
std::string creator
Creator info (serialised JSON)
Definition: types.hpp:4618
int64_t edited_at
Last stock edit time (Unix timestamp)
Definition: types.hpp:4614
std::string industry_code
Industry code (for industry sharelists)
Definition: types.hpp:4628
std::string chg
Day change percentage.
Definition: types.hpp:4624
Response for SharelistContext::list and SharelistContext::popular.
Definition: types.hpp:4633
std::vector< SharelistInfo > sharelists
User's own and followed sharelists.
Definition: types.hpp:4635
std::vector< SharelistInfo > subscribed_sharelists
Subscribed sharelists (may be empty in popular response)
Definition: types.hpp:4637
std::string tail_mark
Pagination cursor for the subscribed list.
Definition: types.hpp:4639
Subscription scope flags for a sharelist.
Definition: types.hpp:4591
bool subscription
Whether the current user is subscribed to this sharelist.
Definition: types.hpp:4593
bool is_self
Whether the current user is the creator of this sharelist.
Definition: types.hpp:4595
A security constituent of a sharelist.
Definition: types.hpp:4568
std::string unread_change_log_category
Unread change log category.
Definition: types.hpp:4580
std::string name
Security name.
Definition: types.hpp:4572
std::string market
Market, e.g. "HK".
Definition: types.hpp:4574
std::optional< std::string > change
Day change percentage (absent when quote unavailable)
Definition: types.hpp:4582
std::string intro
Brief description.
Definition: types.hpp:4578
std::string code
Ticker code.
Definition: types.hpp:4576
std::string symbol
Security symbol.
Definition: types.hpp:4570
std::optional< std::string > last_done
Latest price (absent when quote unavailable)
Definition: types.hpp:4584
std::optional< int32_t > trade_status
Trade status code (absent when quote unavailable)
Definition: types.hpp:4586
Account balance.
Definition: types.hpp:2106
Decimal total_cash
Total cash.
Definition: types.hpp:2108
Decimal max_finance_amount
Maximum financing amount.
Definition: types.hpp:2110
std::vector< FrozenTransactionFee > frozen_transaction_fees
Frozen transaction fees.
Definition: types.hpp:2130
Decimal maintenance_margin
Maintenance margin.
Definition: types.hpp:2126
Decimal net_assets
Net assets.
Definition: types.hpp:2122
Decimal init_margin
Initial margin.
Definition: types.hpp:2124
std::string currency
Currency.
Definition: types.hpp:2118
Decimal buy_power
Buy power.
Definition: types.hpp:2128
Decimal margin_call
Margin call.
Definition: types.hpp:2116
Decimal remaining_finance_amount
Remaining financing amount.
Definition: types.hpp:2112
int32_t risk_level
Risk control level.
Definition: types.hpp:2114
std::vector< CashInfo > cash_infos
Cash details.
Definition: types.hpp:2120
All executions response.
Definition: types.hpp:1485
bool has_more
Has more records.
Definition: types.hpp:1487
std::vector< Execution > trades
Executions.
Definition: types.hpp:1489
Attached order detail.
Definition: types.hpp:1637
Decimal quantity
Definition: types.hpp:1641
std::optional< OutsideRTH > force_only_rth
Definition: types.hpp:1654
Decimal executed_amount
Definition: types.hpp:1650
std::string counter_id
Definition: types.hpp:1648
bool withdrawn
Definition: types.hpp:1645
std::optional< Decimal > trigger_price
Definition: types.hpp:1640
std::optional< OutsideRTH > activate_rth
Definition: types.hpp:1657
OrderType activate_order_type
Definition: types.hpp:1656
std::string order_id
Definition: types.hpp:1638
int64_t updated_at
Definition: types.hpp:1644
std::optional< Decimal > executed_price
Definition: types.hpp:1653
Decimal executed_qty
Definition: types.hpp:1642
std::optional< int32_t > limit_depth_level
Bid/ask depth level of the limit order submitted price.
Definition: types.hpp:1660
AttachedOrderType attached_type_display
Definition: types.hpp:1639
std::optional< Date > gtd
Definition: types.hpp:1646
TimeInForceType time_in_force
Definition: types.hpp:1647
std::optional< Decimal > submit_price
Definition: types.hpp:1658
OrderTag tag
Definition: types.hpp:1651
std::optional< TriggerStatus > trigger_status
Definition: types.hpp:1649
int64_t submitted_at
Definition: types.hpp:1652
bool reviewed
Definition: types.hpp:1655
OrderStatus status
Definition: types.hpp:1643
Cash flow.
Definition: types.hpp:2159
std::optional< std::string > symbol
Associated Stock code information.
Definition: types.hpp:2173
std::string transaction_flow_name
Cash flow name.
Definition: types.hpp:2161
std::string description
Cash flow description.
Definition: types.hpp:2175
int64_t business_time
Business time.
Definition: types.hpp:2171
CashFlowDirection direction
Outflow direction.
Definition: types.hpp:2163
Decimal balance
Cash amount.
Definition: types.hpp:2167
BalanceType business_type
Balance type.
Definition: types.hpp:2165
std::string currency
Cash currency.
Definition: types.hpp:2169
Cash info.
Definition: types.hpp:2084
Decimal frozen_cash
Frozen cash.
Definition: types.hpp:2090
Decimal settling_cash
Cash to be settled.
Definition: types.hpp:2092
Decimal withdraw_cash
Withdraw cash.
Definition: types.hpp:2086
Decimal available_cash
Available cash.
Definition: types.hpp:2088
std::string currency
Currency.
Definition: types.hpp:2094
Options for estimate maximum purchase quantity.
Definition: types.hpp:2468
std::string symbol
Security code.
Definition: types.hpp:2470
OrderType order_type
Order type.
Definition: types.hpp:2472
bool fractional_shares
Get the maximum fractional share buying power.
Definition: types.hpp:2483
std::optional< Decimal > price
Estimated order price.
Definition: types.hpp:2476
OrderSide side
Order side.
Definition: types.hpp:2474
std::optional< std::string > currency
Settlement currency.
Definition: types.hpp:2478
std::optional< std::string > order_id
Definition: types.hpp:2481
Response for estimate maximum purchase quantity.
Definition: types.hpp:2488
Decimal margin_max_qty
Margin available quantity.
Definition: types.hpp:2492
Decimal cash_max_qty
Cash available quantity.
Definition: types.hpp:2490
Exexution.
Definition: types.hpp:1436
Decimal price
Definition: types.hpp:1442
Decimal quantity
Definition: types.hpp:1441
OrderSide side
Definition: types.hpp:1445
std::string trade_id
Definition: types.hpp:1438
std::string symbol
Definition: types.hpp:1439
std::string order_id
Definition: types.hpp:1437
int64_t trade_done_at
Definition: types.hpp:1440
Frozen transaction fee.
Definition: types.hpp:2099
std::string currency
Definition: types.hpp:2100
Decimal frozen_transaction_fee
Definition: types.hpp:2101
Fund position channel.
Definition: types.hpp:2230
std::string account_channel
Account type.
Definition: types.hpp:2232
std::vector< FundPosition > positions
Fund positions.
Definition: types.hpp:2234
Fund position.
Definition: types.hpp:2211
Decimal holding_units
Holding units.
Definition: types.hpp:2225
std::string currency
Currency.
Definition: types.hpp:2221
std::string symbol_name
Fund name.
Definition: types.hpp:2219
std::string counter_id
Fund counter id (the ISIN is the last /-separated segment)
Definition: types.hpp:2213
Decimal current_net_asset_value
Current equity.
Definition: types.hpp:2215
int64_t net_asset_value_day
Current equity time.
Definition: types.hpp:2217
Decimal cost_net_asset_value
Net cost.
Definition: types.hpp:2223
Fund positions response.
Definition: types.hpp:2239
std::vector< FundPositionChannel > channels
Channels.
Definition: types.hpp:2241
Options for get all executions request.
Definition: types.hpp:1470
std::optional< uint64_t > page
Page number.
Definition: types.hpp:1480
std::optional< int64_t > start_at
Start time.
Definition: types.hpp:1476
std::optional< std::string > order_id
Order id.
Definition: types.hpp:1474
std::optional< int64_t > end_at
End time.
Definition: types.hpp:1478
std::optional< std::string > symbol
Security code.
Definition: types.hpp:1472
Options for submit order request.
Definition: types.hpp:2180
int64_t end_at
End time.
Definition: types.hpp:2184
std::optional< uintptr_t > page
Page number.
Definition: types.hpp:2190
int64_t start_at
Start time.
Definition: types.hpp:2182
std::optional< uintptr_t > size
Page size.
Definition: types.hpp:2192
std::optional< BalanceType > business_type
Business type.
Definition: types.hpp:2186
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:2188
Options for get fund positions request.
Definition: types.hpp:2197
std::optional< std::vector< std::string > > symbols
Fund symbols.
Definition: types.hpp:2199
Options for get history executions request.
Definition: types.hpp:1450
std::optional< std::string > symbol
Security code.
Definition: types.hpp:1456
std::optional< int64_t > end_at
End time.
Definition: types.hpp:1454
std::optional< int64_t > start_at
Start time.
Definition: types.hpp:1452
Options for get history orders request.
Definition: types.hpp:1921
std::optional< int64_t > end_at
End time.
Definition: types.hpp:1933
std::optional< OrderSide > side
Order side.
Definition: types.hpp:1927
std::optional< Market > market
Market.
Definition: types.hpp:1929
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:1923
std::optional< std::vector< OrderStatus > > status
Order status.
Definition: types.hpp:1925
std::optional< int64_t > start_at
Start time.
Definition: types.hpp:1931
Options for get stock positions request.
Definition: types.hpp:2204
std::optional< std::vector< std::string > > symbols
Stock symbols.
Definition: types.hpp:2206
Options for get today executions request.
Definition: types.hpp:1461
std::optional< std::string > order_id
Order id.
Definition: types.hpp:1465
std::optional< std::string > symbol
Security code.
Definition: types.hpp:1463
Options for get today orders request.
Definition: types.hpp:1938
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:1940
std::optional< bool > is_attached
Whether to include attached orders.
Definition: types.hpp:1950
std::optional< std::string > order_id
Order id.
Definition: types.hpp:1948
std::optional< std::vector< OrderStatus > > status
Order status.
Definition: types.hpp:1942
std::optional< Market > market
Market.
Definition: types.hpp:1946
std::optional< OrderSide > side
Order side.
Definition: types.hpp:1944
Margin ratio.
Definition: types.hpp:2284
Decimal mm_factor
Maintain the initial margin ratio.
Definition: types.hpp:2288
Decimal im_factor
Initial margin ratio.
Definition: types.hpp:2286
Decimal fm_factor
Forced close-out margin ratio.
Definition: types.hpp:2290
Multi-leg strategy information.
Definition: types.hpp:1777
std::string code
Multi-leg combination code.
Definition: types.hpp:1785
std::string multileg_id
Multi-leg combination ID.
Definition: types.hpp:1783
std::vector< MultiLegOrderLeg > legs
Legs of the combination order.
Definition: types.hpp:1787
MultiLegStrategy strategy
Multi-leg strategy.
Definition: types.hpp:1779
std::string strategy_name
Strategy name.
Definition: types.hpp:1781
A leg of a multi-leg combination order.
Definition: types.hpp:1758
std::optional< Date > expire_date
Option expiry date.
Definition: types.hpp:1770
ContractDirection contract_direction
Contract type.
Definition: types.hpp:1772
MultiLegPosition position
Position direction.
Definition: types.hpp:1764
Decimal ratio_quantity
Leg ratio quantity.
Definition: types.hpp:1766
OrderSide side
Order side.
Definition: types.hpp:1762
std::optional< Decimal > strike_price
Strike price.
Definition: types.hpp:1768
std::string symbol
Option symbol, in ticker.region format.
Definition: types.hpp:1760
Order charge detail.
Definition: types.hpp:2364
std::string currency
Settlement currency.
Definition: types.hpp:2368
std::vector< OrderChargeItem > items
Order charge items.
Definition: types.hpp:2370
Decimal total_amount
Total charges amount.
Definition: types.hpp:2366
Order charge fee.
Definition: types.hpp:2340
Decimal amount
Charge amount.
Definition: types.hpp:2346
std::string currency
Charge currency.
Definition: types.hpp:2348
std::string code
Charge code.
Definition: types.hpp:2342
std::string name
Charge name.
Definition: types.hpp:2344
Order charge item.
Definition: types.hpp:2353
std::string name
Charge category name.
Definition: types.hpp:2357
std::vector< OrderChargeFee > fees
Charge details.
Definition: types.hpp:2359
ChargeCategoryCode code
Charge category code.
Definition: types.hpp:2355
Order detail.
Definition: types.hpp:2375
int64_t submitted_at
Submitted time.
Definition: types.hpp:2391
std::optional< std::string > free_currency
Commission-free currency.
Definition: types.hpp:2442
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:2421
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:2425
Decimal quantity
Submitted quantity.
Definition: types.hpp:2383
std::optional< std::string > deductions_currency
Deduction currency.
Definition: types.hpp:2448
std::string currency
Currency.
Definition: types.hpp:2423
OrderStatus status
Order status.
Definition: types.hpp:2379
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:2429
OrderSide side
Order side.
Definition: types.hpp:2393
std::optional< Decimal > last_done
Last done.
Definition: types.hpp:2399
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:2431
std::string msg
Rejected Message or remark.
Definition: types.hpp:2403
std::optional< int64_t > updated_at
Last updated time.
Definition: types.hpp:2411
std::optional< Decimal > platform_deducted_amount
Platform deduction amount.
Definition: types.hpp:2452
CommissionFreeStatus free_status
Commission-free Status.
Definition: types.hpp:2438
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:2427
std::string remark
Remark.
Definition: types.hpp:2433
OrderTag tag
Order tag.
Definition: types.hpp:2405
std::string order_id
Order ID.
Definition: types.hpp:2377
std::optional< int64_t > delayed_until
Definition: types.hpp:2436
std::optional< Date > expire_date
Long term order expire date.
Definition: types.hpp:2409
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:2413
std::optional< Decimal > free_amount
Commission-free amount.
Definition: types.hpp:2440
DeductionStatus deductions_status
Deduction status.
Definition: types.hpp:2444
std::string symbol
Security code.
Definition: types.hpp:2395
std::optional< Decimal > trigger_price
LIT / MIT Order Trigger Price
Definition: types.hpp:2401
std::vector< AttachedOrderDetail > attached_orders
Attached orders.
Definition: types.hpp:2460
std::string stock_name
Stock name.
Definition: types.hpp:2381
OrderType order_type
Order type.
Definition: types.hpp:2397
DeductionStatus platform_deducted_status
Platform fee deduction status.
Definition: types.hpp:2450
std::optional< Decimal > limit_offset
TSLPAMT / TSLPPCT order limit offset amount
Definition: types.hpp:2419
std::optional< MultiLegInfo > multi_leg
Definition: types.hpp:2463
std::optional< Decimal > deductions_amount
Deduction amount.
Definition: types.hpp:2446
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:2407
std::optional< Decimal > trailing_percent
TSMPCT / TSLPPCT order trailing percent
Definition: types.hpp:2417
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:2385
std::optional< Decimal > price
Submitted price.
Definition: types.hpp:2387
std::vector< OrderHistoryDetail > history
Order history details.
Definition: types.hpp:2456
std::optional< std::string > platform_deducted_currency
Platform deduction currency.
Definition: types.hpp:2454
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:2389
std::optional< Decimal > trailing_amount
TSMAMT / TSLPAMT order trailing amount
Definition: types.hpp:2415
std::optional< OrderChargeDetail > charge_detail
Order charges (maybe null)
Definition: types.hpp:2458
Order history detail.
Definition: types.hpp:2323
Decimal quantity
Definition: types.hpp:2329
Decimal price
Definition: types.hpp:2326
std::string msg
Execution or error message.
Definition: types.hpp:2333
OrderStatus status
Order status.
Definition: types.hpp:2331
int64_t time
Occurrence time.
Definition: types.hpp:2335
Order.
Definition: types.hpp:1792
Decimal quantity
Submitted quantity.
Definition: types.hpp:1800
int64_t submitted_at
Submitted time.
Definition: types.hpp:1808
std::optional< Decimal > trailing_amount
TSMAMT / TSLPAMT order trailing amount
Definition: types.hpp:1832
OrderTag tag
Order tag.
Definition: types.hpp:1822
std::optional< Decimal > trigger_price
LIT / MIT Order Trigger Price
Definition: types.hpp:1818
OrderStatus status
Order status.
Definition: types.hpp:1796
std::string currency
Currency.
Definition: types.hpp:1840
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:1824
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:1848
std::string stock_name
Stock name.
Definition: types.hpp:1798
std::optional< Date > expire_date
Long term order expire date.
Definition: types.hpp:1826
OrderSide side
Order side.
Definition: types.hpp:1810
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:1806
std::string symbol
Security code.
Definition: types.hpp:1812
std::optional< Decimal > price
Submitted price.
Definition: types.hpp:1804
std::optional< MultiLegInfo > multi_leg
Definition: types.hpp:1858
std::optional< Decimal > trailing_percent
TSMPCT / TSLPPCT order trailing percent
Definition: types.hpp:1834
std::string msg
Rejected Message or remark.
Definition: types.hpp:1820
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:1838
std::optional< Decimal > last_done
Last done.
Definition: types.hpp:1816
std::optional< int64_t > delayed_until
Definition: types.hpp:1853
std::string order_id
Order ID.
Definition: types.hpp:1794
std::optional< int64_t > updated_at
Last updated time.
Definition: types.hpp:1828
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:1842
OrderType order_type
Order type.
Definition: types.hpp:1814
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:1844
std::string remark
Remark.
Definition: types.hpp:1850
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:1802
std::optional< Decimal > limit_offset
TSLPAMT / TSLPPCT order limit offset amount
Definition: types.hpp:1836
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:1830
std::vector< AttachedOrderDetail > attached_orders
Attached orders.
Definition: types.hpp:1855
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:1846
Grid trading master-order changed message.
Definition: types.hpp:2498
std::string current_base_price
Current base price.
Definition: types.hpp:2510
std::string grid_order_type_down
Buy-side order type when depth is 0.
Definition: types.hpp:2528
std::string trigger_quantity
Quantity per trigger.
Definition: types.hpp:2518
std::string submitted_base_price
Submitted base price.
Definition: types.hpp:2508
std::string suspend_reason
Suspend reason, if any.
Definition: types.hpp:2506
int32_t time_in_force
Time in force (0 = Day, 1 = GTC, 6 = GTD)
Definition: types.hpp:2522
std::string symbol
Security symbol (e.g. 700.HK)
Definition: types.hpp:2504
int32_t rth
Regular trading hours flag.
Definition: types.hpp:2524
std::string order_id
Grid master order ID.
Definition: types.hpp:2500
std::string status
Order status.
Definition: types.hpp:2502
std::string upper_limit_price
Upper price bound.
Definition: types.hpp:2512
std::string settlement_currency
Settlement currency.
Definition: types.hpp:2520
int32_t trigger_price_type
Trigger price type.
Definition: types.hpp:2516
std::string grid_order_type_up
Sell-side order type when depth is 0.
Definition: types.hpp:2526
std::string lower_limit_price
Lower price bound.
Definition: types.hpp:2514
Order changed message.
Definition: types.hpp:1863
std::string order_id
Order ID.
Definition: types.hpp:1881
Decimal submitted_quantity
Submitted quantity.
Definition: types.hpp:1869
int64_t submitted_at
Submitted time.
Definition: types.hpp:1887
std::optional< Decimal > trailing_percent
Trailing percent.
Definition: types.hpp:1903
std::optional< Decimal > trailing_amount
Trailing amount.
Definition: types.hpp:1901
std::string currency
Currency.
Definition: types.hpp:1883
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:1879
std::string stock_name
Stock name.
Definition: types.hpp:1867
std::optional< Decimal > trigger_price
Order trigger price.
Definition: types.hpp:1891
OrderType order_type
Order type.
Definition: types.hpp:1873
std::optional< Decimal > last_price
Last price.
Definition: types.hpp:1911
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:1897
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:1877
std::string msg
Rejected message or remark.
Definition: types.hpp:1893
int64_t updated_at
Last updated time.
Definition: types.hpp:1889
OrderSide side
Order side.
Definition: types.hpp:1865
std::optional< Decimal > limit_offset
Limit offset amount.
Definition: types.hpp:1905
OrderStatus status
Order status.
Definition: types.hpp:1885
std::string remark
Remark message.
Definition: types.hpp:1913
std::optional< MultiLegInfo > multi_leg
Definition: types.hpp:1916
Decimal submitted_price
Submitted price.
Definition: types.hpp:1875
OrderTag tag
Order tag.
Definition: types.hpp:1895
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:1899
std::string symbol
Order symbol.
Definition: types.hpp:1871
std::optional< Decimal > last_share
Last share.
Definition: types.hpp:1909
std::string account_no
Account no.
Definition: types.hpp:1907
Replace attached order params.
Definition: types.hpp:1685
std::optional< int64_t > expire_time
Definition: types.hpp:1690
std::optional< Decimal > stop_loss_submit_price
Definition: types.hpp:1693
std::optional< Decimal > stop_loss_price
Definition: types.hpp:1688
std::optional< bool > cancel_all_attached
Definition: types.hpp:1697
std::optional< int64_t > main_id
Definition: types.hpp:1698
std::optional< OrderType > activate_order_type
Definition: types.hpp:1691
std::optional< Decimal > market_price
Definition: types.hpp:1700
std::optional< TimeInForceType > time_in_force
Definition: types.hpp:1689
std::optional< int32_t > stop_loss_depth_level
Definition: types.hpp:1706
std::optional< int32_t > profit_taker_depth_level
Definition: types.hpp:1703
std::optional< int64_t > stop_loss_id
Definition: types.hpp:1696
std::optional< Decimal > profit_taker_submit_price
Definition: types.hpp:1692
AttachedOrderType attached_order_type
Definition: types.hpp:1686
std::optional< Decimal > profit_taker_price
Definition: types.hpp:1687
std::optional< int64_t > profit_taker_id
Definition: types.hpp:1695
std::optional< OutsideRTH > activate_rth
Definition: types.hpp:1694
std::optional< Decimal > quantity
Definition: types.hpp:1699
Options for replace order request.
Definition: types.hpp:1955
std::string order_id
Order ID.
Definition: types.hpp:1957
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:1971
bool clear_delayed_until
Definition: types.hpp:1986
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:1975
std::optional< Decimal > price
Price.
Definition: types.hpp:1961
std::optional< Decimal > trigger_price
Trigger price.
Definition: types.hpp:1963
Decimal quantity
Quantity.
Definition: types.hpp:1959
std::optional< int64_t > delayed_until
Definition: types.hpp:1983
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:1973
std::optional< Decimal > trailing_percent
Trailing percent.
Definition: types.hpp:1969
std::optional< Decimal > trailing_amount
Trailing amount.
Definition: types.hpp:1967
std::optional< Decimal > limit_offset
Limit offset.
Definition: types.hpp:1965
std::optional< std::string > remark
Remark.
Definition: types.hpp:1977
std::optional< ReplaceAttachedParams > attached_params
Attached order params.
Definition: types.hpp:1979
Stock position channel.
Definition: types.hpp:2268
std::string account_channel
Account type.
Definition: types.hpp:2270
std::vector< StockPosition > positions
Stock positions.
Definition: types.hpp:2272
Stock position.
Definition: types.hpp:2246
std::optional< Decimal > init_quantity
Initial position before market opening.
Definition: types.hpp:2263
Decimal quantity
The number of holdings.
Definition: types.hpp:2252
std::string symbol
Stock code.
Definition: types.hpp:2248
std::string symbol_name
Stock name.
Definition: types.hpp:2250
Decimal available_quantity
Available quantity.
Definition: types.hpp:2254
Decimal cost_price
Definition: types.hpp:2259
Market market
Market.
Definition: types.hpp:2261
std::string currency
Currency.
Definition: types.hpp:2256
Stock positions response.
Definition: types.hpp:2277
std::vector< StockPositionChannel > channels
Channels.
Definition: types.hpp:2279
Submit attached order params.
Definition: types.hpp:1665
std::optional< OrderType > activate_order_type
Definition: types.hpp:1671
std::optional< int64_t > expire_time
Definition: types.hpp:1670
std::optional< int32_t > stop_loss_depth_level
Definition: types.hpp:1680
std::optional< Decimal > profit_taker_submit_price
Definition: types.hpp:1672
std::optional< TimeInForceType > time_in_force
Definition: types.hpp:1669
AttachedOrderType attached_order_type
Definition: types.hpp:1666
std::optional< Decimal > stop_loss_submit_price
Definition: types.hpp:1673
std::optional< Decimal > stop_loss_price
Definition: types.hpp:1668
std::optional< Decimal > profit_taker_price
Definition: types.hpp:1667
std::optional< OutsideRTH > activate_rth
Definition: types.hpp:1674
std::optional< int32_t > profit_taker_depth_level
Definition: types.hpp:1677
A leg of a multi-leg combination order to submit.
Definition: types.hpp:2046
Decimal ratio_quantity
Definition: types.hpp:2053
std::string symbol
Option symbol, in ticker.region format (e.g. QQQ260731C764000.US)
Definition: types.hpp:2048
Options for submit multi-leg order request.
Definition: types.hpp:2058
std::optional< std::string > remark
Remark (Maximum 255 characters)
Definition: types.hpp:2072
Decimal submitted_quantity
Submitted quantity (number of combinations)
Definition: types.hpp:2064
std::optional< std::string > client_request_id
Definition: types.hpp:2076
MultiLegStrategy strategy
Multi-leg strategy.
Definition: types.hpp:2066
std::optional< int64_t > delayed_until
Definition: types.hpp:2079
std::vector< SubmitMultiLegOrderLeg > legs
Legs of the combination order.
Definition: types.hpp:2068
std::optional< Decimal > submitted_price
Submitted price (required for limit order types such as LO)
Definition: types.hpp:2070
OrderSide side
Order side.
Definition: types.hpp:2060
OrderType order_type
Order type.
Definition: types.hpp:2062
Options for submit order request.
Definition: types.hpp:1991
std::optional< Decimal > trailing_percent
Trailing percent (TSLPPCT / TSMAPCT Required)
Definition: types.hpp:2011
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:2018
std::optional< std::string > client_request_id
Definition: types.hpp:2028
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:2020
OrderType order_type
Order type.
Definition: types.hpp:1995
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:2001
std::optional< std::string > remark
Remark (Maximum 64 characters)
Definition: types.hpp:2024
OrderSide side
Order side.
Definition: types.hpp:1997
std::optional< Decimal > limit_offset
Limit offset amount (TSLPAMT / TSLPPCT Required)
Definition: types.hpp:2007
std::optional< Decimal > submitted_price
Submitted price.
Definition: types.hpp:2003
std::optional< Decimal > trailing_amount
Trailing amount (TSLPAMT / TSMAMT Required)
Definition: types.hpp:2009
std::string symbol
Security symbol.
Definition: types.hpp:1993
std::optional< int64_t > delayed_until
Definition: types.hpp:2034
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:2022
std::optional< SubmitAttachedParams > attached_params
Attached order params.
Definition: types.hpp:2030
std::optional< Decimal > trigger_price
Trigger price (LIT / MIT Required)
Definition: types.hpp:2005
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:2016
std::optional< Date > expire_date
Definition: types.hpp:2014
Decimal submitted_quantity
Submitted price.
Definition: types.hpp:1999
Response for submit order request.
Definition: types.hpp:2039
std::string order_id
Order id.
Definition: types.hpp:2041