78 inline SubFlags(uint8_t value) { value_ = value; }
80 inline operator uint8_t()
const {
return value_; }
84 return SubFlags(value_ | other.value_);
89 value_ |= other.value_;
95 return SubFlags(value_ & other.value_);
100 value_ &= other.value_;
106 return value_ == other.value_;
111 return (value_ & other.value_) > 0;
834 std::optional<std::string>
name;
1294 std::vector<ShortPositionsItem>
data;
1347 std::vector<OptionVolumeDailyStat>
stats;
1665 std::optional<std::vector<OrderStatus>>
status;
1682 std::optional<std::vector<OrderStatus>>
status;
2334 std::vector<BrokerHoldingEntry>
buy;
2335 std::vector<BrokerHoldingEntry>
sell;
2362 std::vector<BrokerHoldingDetailItem>
list;
2378 std::vector<BrokerHoldingDailyItem>
list;
2546 namespace fundamental {
2717 std::optional<ValuationMetricData>
pe;
2718 std::optional<ValuationMetricData>
pb;
2719 std::optional<ValuationMetricData>
ps;
2732 std::optional<ValuationMetricData>
pe;
2733 std::optional<ValuationMetricData>
pb;
2734 std::optional<ValuationMetricData>
ps;
2955 std::vector<IndustryValuationItem>
list;
2973 std::optional<ValuationDist>
pe;
2974 std::optional<ValuationDist>
pb;
2975 std::optional<ValuationDist>
ps;
3144 std::vector<InstitutionRatingViewItem>
elist;
3226 std::optional<SnapshotForecastMetric>
fo_eps;
3274 std::vector<ValuationComparisonItem>
list;
3341 std::vector<AssetAllocationGroup>
info;
3549 namespace sharelist {
Definition: decimal.hpp:13
Subscription flags.
Definition: types.hpp:73
bool operator==(const SubFlags &other) const
Definition: types.hpp:104
SubFlags(uint8_t value)
Definition: types.hpp:78
SubFlags & operator|=(const SubFlags &other)
Definition: types.hpp:87
SubFlags operator&(const SubFlags &other) const
Definition: types.hpp:93
bool contains(const SubFlags &other) const
Definition: types.hpp:109
SubFlags operator|(const SubFlags &other) const
Definition: types.hpp:82
SubFlags & operator&=(const SubFlags &other)
Definition: types.hpp:98
DCAStatus
DCA plan status.
Definition: types.hpp:3414
DCAFrequency
DCA investment frequency.
Definition: types.hpp:3405
InstitutionRecommend
Institutional analyst recommendation.
Definition: types.hpp:2550
ElementType
ETF asset allocation element type.
Definition: types.hpp:3279
WarrantSortBy
Warrant sort by.
Definition: types.hpp:1047
@ 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:1206
SecuritiesUpdateMode
Securities update mode.
Definition: types.hpp:810
OptionDirection
Option direction.
Definition: types.hpp:467
Period
Candlestick period.
Definition: types.hpp:131
@ Min45
Forty-Five Minutes.
TradeSession
Trade session.
Definition: types.hpp:185
SecurityBoard
Security board.
Definition: types.hpp:270
@ 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:1109
TradeStatus
Trade status.
Definition: types.hpp:379
@ PrepareList
Papare List.
@ ToBeOpened
To Be Opened.
@ SplitStockHalts
Split Stock Halts.
@ WarrantPrepareList
Warrant To BeListed.
AdjustType
Adjust type.
Definition: types.hpp:692
TradeDirection
Trade direction.
Definition: types.hpp:522
WarrantType
Warrant type.
Definition: types.hpp:587
Granularity
Data granularity.
Definition: types.hpp:1230
@ Unknown
Unknown.
Definition: types.hpp:1232
@ Monthly
Monthly.
Definition: types.hpp:1238
@ Weekly
Weekly.
Definition: types.hpp:1236
@ Daily
Daily.
Definition: types.hpp:1234
SecurityListCategory
Security list category.
Definition: types.hpp:1184
WarrantStatus
Warrant status.
Definition: types.hpp:1118
@ PrepareList
Prepare List.
CalcIndex
Calc index.
Definition: types.hpp:866
@ 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.
SortOrderType
Sort order type.
Definition: types.hpp:1038
OptionType
Option type.
Definition: types.hpp:456
FilterWarrantExpiryDate
Filter warrant expiry date type.
Definition: types.hpp:1096
@ Between_6_12
6 - 12 months
@ Between_3_6
3 - 6 months
@ GT_12
Greater than 12 months.
@ LT_3
Less than 3 months.
OrderTag
Order tag.
Definition: types.hpp:1479
@ LongTerm
Long term Order.
@ MarginCall
Force Selling.
@ Creditor
Option Exercise Long.
@ NonExercise
Wavier Of Option Exercise.
@ AllocatedSub
Trade Allocation.
@ Debtor
Option Exercise Short.
CashFlowDirection
Cash flow direction.
Definition: types.hpp:1816
OutsideRTH
Enable or disable outside regular trading hours.
Definition: types.hpp:1530
@ RTHOnly
Regular trading hour only.
TriggerStatus
Trigger status.
Definition: types.hpp:1517
TopicType
Topic type.
Definition: types.hpp:1356
@ Private
Private notification for trade.
BalanceType
Balance type.
Definition: types.hpp:1827
DeductionStatus
Deduction status.
Definition: types.hpp:1986
OrderSide
Order side.
Definition: types.hpp:1435
CommissionFreeStatus
Commission-free Status.
Definition: types.hpp:1976
ChargeCategoryCode
Charge category code.
Definition: types.hpp:1996
OrderStatus
Order status.
Definition: types.hpp:1394
@ 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.
@ ProtectedNotReported
Not reported (Protected Order)
OrderType
Order type.
Definition: types.hpp:1446
@ 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)
TimeInForceType
Time in force Type.
Definition: types.hpp:1504
@ GoodTilDate
Good Til Date Order.
@ GoodTilCanceled
Good Til Canceled Order.
Definition: alert_context.hpp:9
PushCandlestickMode
Push candlestick mode.
Definition: types.hpp:43
Market
Market.
Definition: types.hpp:52
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
One price alert rule attached to a security.
Definition: types.hpp:3350
int32_t scope
Scope.
Definition: types.hpp:3360
int32_t frequency
Trigger frequency: 1=daily, 2=every_time, 3=once.
Definition: types.hpp:3358
std::string id
Alert ID.
Definition: types.hpp:3352
std::string indicator_id
Condition: "1"=price_rise, "2"=price_fall, "3"=pct_rise, "4"=pct_fall.
Definition: types.hpp:3354
std::string value_map
Trigger threshold, serialised as JSON: {"price":"500"} or {"chg":"5"}.
Definition: types.hpp:3366
bool enabled
Whether the alert is currently active.
Definition: types.hpp:3356
std::string text
Human-readable description of the trigger condition.
Definition: types.hpp:3362
std::vector< int32_t > state
Trigger state flags.
Definition: types.hpp:3364
Response for AlertContext::list — alerts grouped by security.
Definition: types.hpp:3394
std::vector< AlertSymbolGroup > lists
Alert groups, one per security.
Definition: types.hpp:3396
All price alerts for one security.
Definition: types.hpp:3371
std::string p_chg
Day change percentage.
Definition: types.hpp:3385
std::vector< AlertItem > indicators
Alert items for this security.
Definition: types.hpp:3389
std::string name
Security name.
Definition: types.hpp:3379
std::string code
Ticker code (without market)
Definition: types.hpp:3375
std::string market
Market, e.g. "HK".
Definition: types.hpp:3377
std::string chg
Day change amount.
Definition: types.hpp:3383
std::string price
Latest price.
Definition: types.hpp:3381
std::string product
Product type (may be empty)
Definition: types.hpp:3387
std::string symbol
Security symbol.
Definition: types.hpp:3373
Options for creating a topic.
Definition: types.hpp:2286
std::vector< std::string > tickers
Related stock tickers, format: {symbol}.{market}, max 10.
Definition: types.hpp:2294
std::string body
Topic body in Markdown format (required)
Definition: types.hpp:2290
std::string title
Topic title (required)
Definition: types.hpp:2288
std::vector< std::string > hashtags
Hashtag names, max 5.
Definition: types.hpp:2296
std::string topic_type
Content type: "article" or "post" (empty = default "post")
Definition: types.hpp:2292
Options for listing topics created by the current authenticated user.
Definition: types.hpp:2275
int32_t page
Page number (0 = default 1)
Definition: types.hpp:2277
int32_t size
Records per page, range 1~500 (0 = default 50)
Definition: types.hpp:2279
std::string topic_type
Filter by content type: "article" or "post" (empty = all)
Definition: types.hpp:2281
News item.
Definition: types.hpp:2195
std::string title
Title.
Definition: types.hpp:2199
int32_t likes_count
Likes count.
Definition: types.hpp:2209
std::string url
URL.
Definition: types.hpp:2203
int32_t shares_count
Shares count.
Definition: types.hpp:2211
std::string description
Description.
Definition: types.hpp:2201
int32_t comments_count
Comments count.
Definition: types.hpp:2207
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:2205
std::string id
News ID.
Definition: types.hpp:2197
My topic item (created by the current authenticated user)
Definition: types.hpp:2238
std::vector< std::string > hashtags
Hashtag names.
Definition: types.hpp:2252
int32_t comments_count
Comments count.
Definition: types.hpp:2258
std::string title
Title.
Definition: types.hpp:2242
int32_t views_count
Views count.
Definition: types.hpp:2260
std::string id
Topic ID.
Definition: types.hpp:2240
int64_t updated_at
Updated time (Unix timestamp)
Definition: types.hpp:2270
std::vector< std::string > tickers
Related stock tickers.
Definition: types.hpp:2250
int64_t created_at
Created time (Unix timestamp)
Definition: types.hpp:2268
std::string description
Plain text excerpt.
Definition: types.hpp:2244
int32_t shares_count
Shares count.
Definition: types.hpp:2262
std::vector< TopicImage > images
Images.
Definition: types.hpp:2254
int32_t likes_count
Likes count.
Definition: types.hpp:2256
std::string detail_url
URL to the full topic page.
Definition: types.hpp:2266
std::string topic_type
Content type: "article" or "post".
Definition: types.hpp:2264
TopicAuthor author
Author.
Definition: types.hpp:2248
std::string body
Markdown body.
Definition: types.hpp:2246
Topic author.
Definition: types.hpp:2216
std::string member_id
Member ID.
Definition: types.hpp:2218
std::string avatar
Avatar URL.
Definition: types.hpp:2222
std::string name
Display name.
Definition: types.hpp:2220
Topic image.
Definition: types.hpp:2227
std::string lg
Large image URL.
Definition: types.hpp:2233
std::string url
Original image URL.
Definition: types.hpp:2229
std::string sm
Small thumbnail URL.
Definition: types.hpp:2231
Topic item.
Definition: types.hpp:2174
std::string url
URL.
Definition: types.hpp:2182
int32_t likes_count
Likes count.
Definition: types.hpp:2188
std::string description
Description.
Definition: types.hpp:2180
std::string title
Title.
Definition: types.hpp:2178
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:2184
int32_t shares_count
Shares count.
Definition: types.hpp:2190
std::string id
Topic ID.
Definition: types.hpp:2176
int32_t comments_count
Comments count.
Definition: types.hpp:2186
Response for DCAContext::calc_date — next projected trade date.
Definition: types.hpp:3513
std::string trade_date
Next projected trade date (unix timestamp string)
Definition: types.hpp:3515
Response for DCAContext::create_dca and DCAContext::update_dca.
Definition: types.hpp:3520
std::string plan_id
The plan ID of the created or updated DCA plan.
Definition: types.hpp:3522
One DCA execution history record.
Definition: types.hpp:3527
std::string order_id
Definition: types.hpp:3529
std::string action
Definition: types.hpp:3531
std::string order_type
Definition: types.hpp:3532
std::string created_at
Definition: types.hpp:3528
std::string rejected_reason
Definition: types.hpp:3536
std::string executed_price
Definition: types.hpp:3534
std::string executed_amount
Definition: types.hpp:3535
std::string symbol
Definition: types.hpp:3537
std::string executed_qty
Definition: types.hpp:3533
std::string status
Definition: types.hpp:3530
Paginated DCA execution history response.
Definition: types.hpp:3542
bool has_more
Definition: types.hpp:3544
std::vector< DcaHistoryRecord > records
Definition: types.hpp:3543
Response for DCAContext::list and write operations.
Definition: types.hpp:3471
std::vector< DcaPlan > plans
DCA plans.
Definition: types.hpp:3473
One DCA (dollar-cost averaging) investment plan.
Definition: types.hpp:3422
std::string updated_at
Last updated time.
Definition: types.hpp:3454
std::string average_cost
Average cost.
Definition: types.hpp:3464
DCAFrequency invest_frequency
Investment frequency.
Definition: types.hpp:3442
std::string aaid
Account ID.
Definition: types.hpp:3432
std::string next_trd_date
Next investment date.
Definition: types.hpp:3456
std::string cum_amount
Cumulative invested amount.
Definition: types.hpp:3460
std::string invest_day_of_week
Day of week for weekly plans (e.g. "Mon")
Definition: types.hpp:3444
std::string stock_name
Security name.
Definition: types.hpp:3458
std::string alter_hours
Advance reminder hours ("1", "6", or "12")
Definition: types.hpp:3450
bool allow_margin_finance
Whether margin finance is allowed.
Definition: types.hpp:3448
std::string symbol
Security symbol.
Definition: types.hpp:3428
DCAStatus status
Plan status.
Definition: types.hpp:3426
int64_t issue_number
Number of completed investment periods.
Definition: types.hpp:3462
std::string display_account
Display account.
Definition: types.hpp:3436
std::string plan_id
Plan ID.
Definition: types.hpp:3424
std::string created_at
Creation time.
Definition: types.hpp:3452
std::string account_channel
Account channel.
Definition: types.hpp:3434
std::string per_invest_amount
Investment amount per period.
Definition: types.hpp:3440
std::string invest_day_of_month
Day of month for monthly plans.
Definition: types.hpp:3446
std::string member_id
Member ID.
Definition: types.hpp:3430
std::string cum_profit
Cumulative profit/loss.
Definition: types.hpp:3466
longbridge::Market market
Market.
Definition: types.hpp:3438
Response for DCAContext::stats — aggregate DCA statistics.
Definition: types.hpp:3478
std::string suspended_count
Number of suspended plans.
Definition: types.hpp:3484
std::string finished_count
Number of finished plans.
Definition: types.hpp:3482
std::vector< DcaPlan > nearest_plans
Nearest upcoming plans.
Definition: types.hpp:3486
std::string active_count
Number of active plans.
Definition: types.hpp:3480
std::string total_amount
Total invested amount.
Definition: types.hpp:3490
std::string total_profit
Total profit/loss.
Definition: types.hpp:3492
std::string rest_days
Days until next investment.
Definition: types.hpp:3488
DCA support info for one security.
Definition: types.hpp:3497
std::string symbol
Security symbol.
Definition: types.hpp:3499
bool support_regular_saving
Whether DCA is supported for this security.
Definition: types.hpp:3501
Response for DCAContext::check_support.
Definition: types.hpp:3506
std::vector< DcaSupportInfo > infos
Support info per security.
Definition: types.hpp:3508
One ETF asset allocation group (grouped by element type)
Definition: types.hpp:3328
ElementType asset_type
Element type of this group.
Definition: types.hpp:3332
std::string report_date
Report date (e.g. 20260601)
Definition: types.hpp:3330
std::vector< AssetAllocationItem > lists
Elements.
Definition: types.hpp:3334
One element of an ETF asset allocation group.
Definition: types.hpp:3311
std::string symbol
Security symbol (holdings only, e.g. NVDA.US)
Definition: types.hpp:3319
std::string position_ratio
Position ratio (e.g. 0.0861114)
Definition: types.hpp:3317
std::optional< HoldingDetail > holding_detail
Holding detail (holdings only)
Definition: types.hpp:3323
std::string name
Element name.
Definition: types.hpp:3313
std::map< std::string, std::string > name_locales
Localized names (locale → name)
Definition: types.hpp:3321
std::string code
Security code (holdings only, e.g. NVDA)
Definition: types.hpp:3315
ETF asset allocation response.
Definition: types.hpp:3339
std::vector< AssetAllocationGroup > info
Asset allocation groups.
Definition: types.hpp:3341
One business/regional segment item in a historical snapshot.
Definition: types.hpp:3107
std::string percent
Definition: types.hpp:3109
std::string value
Definition: types.hpp:3110
std::string name
Definition: types.hpp:3108
One business segment item (latest snapshot).
Definition: types.hpp:3091
std::string percent
Definition: types.hpp:3093
std::string name
Definition: types.hpp:3092
One historical business segments snapshot.
Definition: types.hpp:3115
std::string date
Definition: types.hpp:3116
std::vector< BusinessSegmentHistoryItem > business
Definition: types.hpp:3119
std::string currency
Definition: types.hpp:3118
std::string total
Definition: types.hpp:3117
std::vector< BusinessSegmentHistoryItem > regionals
Definition: types.hpp:3120
Business segments history response.
Definition: types.hpp:3125
std::vector< BusinessSegmentsHistoricalItem > historical
Definition: types.hpp:3126
Business segments response.
Definition: types.hpp:3098
std::string currency
Definition: types.hpp:3101
std::vector< BusinessSegmentItem > business
Definition: types.hpp:3102
std::string total
Definition: types.hpp:3100
std::string date
Definition: types.hpp:3099
Buyback data response.
Definition: types.hpp:3034
std::vector< BuybackHistoryItem > buyback_history
Definition: types.hpp:3036
std::optional< RecentBuybacks > recent_buybacks
Definition: types.hpp:3035
std::vector< BuybackRatios > buyback_ratios
Definition: types.hpp:3037
Historical annual buyback data point.
Definition: types.hpp:3016
std::string fiscal_year_range
Definition: types.hpp:3018
std::string currency
Definition: types.hpp:3022
std::string net_buyback_growth_rate
Definition: types.hpp:3021
std::string fiscal_year
Definition: types.hpp:3017
std::string net_buyback_yield
Definition: types.hpp:3020
std::string net_buyback
Definition: types.hpp:3019
Buyback payout and cash-flow ratios.
Definition: types.hpp:3027
std::string net_buyback_to_cashflow_ratio
Definition: types.hpp:3029
std::string net_buyback_payout_ratio
Definition: types.hpp:3028
Company overview and profile information.
Definition: types.hpp:2739
std::string fax
Definition: types.hpp:2758
std::string founded
Definition: types.hpp:2742
std::string address
Definition: types.hpp:2746
std::string website
Definition: types.hpp:2748
std::string ticker
Definition: types.hpp:2762
std::string year_end
Definition: types.hpp:2755
std::string profile
Definition: types.hpp:2763
std::string audit_inst
Definition: types.hpp:2753
int32_t sector
Definition: types.hpp:2764
std::string listing_date
Definition: types.hpp:2743
std::string category
Definition: types.hpp:2754
std::string chairman
Definition: types.hpp:2751
std::string name
Definition: types.hpp:2740
std::string phone
Definition: types.hpp:2757
std::string email
Definition: types.hpp:2759
std::string issue_price
Definition: types.hpp:2749
std::string employees
Definition: types.hpp:2756
std::string manager
Definition: types.hpp:2761
std::string legal_repr
Definition: types.hpp:2760
std::string region
Definition: types.hpp:2745
std::string office_address
Definition: types.hpp:2747
std::string secretary
Definition: types.hpp:2752
std::string company_name
Definition: types.hpp:2741
std::string shares_offered
Definition: types.hpp:2750
std::string market
Definition: types.hpp:2744
One consensus estimate detail for a financial metric.
Definition: types.hpp:2895
std::string comp_desc
Definition: types.hpp:2902
std::string key
Definition: types.hpp:2896
std::string estimate
Definition: types.hpp:2900
std::string description
Definition: types.hpp:2898
std::string name
Definition: types.hpp:2897
std::string comp
Definition: types.hpp:2903
bool is_released
Definition: types.hpp:2904
std::string actual
Definition: types.hpp:2899
std::string comp_value
Definition: types.hpp:2901
Consensus report for one fiscal period.
Definition: types.hpp:2909
std::string period_text
Definition: types.hpp:2912
int32_t fiscal_year
Definition: types.hpp:2910
std::vector< ConsensusDetail > details
Definition: types.hpp:2913
std::string fiscal_period
Definition: types.hpp:2911
One corporate action event (dividend, split, etc.).
Definition: types.hpp:2815
std::string id
Definition: types.hpp:2816
bool is_delay
Definition: types.hpp:2825
std::string date_str
Definition: types.hpp:2818
std::string act_desc
Definition: types.hpp:2822
std::string date_zone
Definition: types.hpp:2820
std::string act_type
Definition: types.hpp:2821
bool recent
Definition: types.hpp:2824
std::string date_type
Definition: types.hpp:2819
std::string date
Definition: types.hpp:2817
std::string action
Definition: types.hpp:2823
std::string delay_content
Definition: types.hpp:2826
Collection of corporate action events.
Definition: types.hpp:2831
std::vector< CorpActionItem > items
Definition: types.hpp:2832
One dividend event for a security.
Definition: types.hpp:2562
std::string symbol
Definition: types.hpp:2563
std::string record_date
Definition: types.hpp:2566
std::string desc
Definition: types.hpp:2565
std::string ex_date
Definition: types.hpp:2567
std::string id
Definition: types.hpp:2564
std::string payment_date
Definition: types.hpp:2568
List of dividend events.
Definition: types.hpp:2573
std::vector< DividendItem > list
Definition: types.hpp:2574
Executives for one security.
Definition: types.hpp:2993
std::string symbol
Definition: types.hpp:2994
int32_t total
Definition: types.hpp:2996
std::vector< Professional > professionals
Definition: types.hpp:2997
std::string forward_url
Definition: types.hpp:2995
List of executive groups per security.
Definition: types.hpp:3002
std::vector< ExecutiveGroup > professional_list
Definition: types.hpp:3003
Financial consensus response.
Definition: types.hpp:2918
int32_t current_index
Definition: types.hpp:2920
std::string current_period
Definition: types.hpp:2923
std::vector< ConsensusReport > list
Definition: types.hpp:2919
std::string currency
Definition: types.hpp:2921
std::vector< std::string > opt_periods
Definition: types.hpp:2922
Financial report snapshot response.
Definition: types.hpp:3217
std::string fr_asset_turn_ttm
Definition: types.hpp:3237
std::optional< SnapshotForecastMetric > fo_ebit
Definition: types.hpp:3225
std::string fp_end
Definition: types.hpp:3221
std::string name
Definition: types.hpp:3218
std::optional< SnapshotReportedMetric > fr_invest_cash
Definition: types.hpp:3230
std::string currency
Definition: types.hpp:3222
std::string fp_start
Definition: types.hpp:3220
std::string fr_leverage_ttm
Definition: types.hpp:3238
std::string report_desc
Definition: types.hpp:3223
std::optional< SnapshotReportedMetric > fr_profit
Definition: types.hpp:3228
std::optional< SnapshotReportedMetric > fr_operate_cash
Definition: types.hpp:3229
std::optional< SnapshotReportedMetric > fr_total_assets
Definition: types.hpp:3232
std::optional< SnapshotReportedMetric > fr_revenue
Definition: types.hpp:3227
std::string fr_roe_ttm
Definition: types.hpp:3234
std::optional< SnapshotForecastMetric > fo_eps
Definition: types.hpp:3226
std::string fr_profit_margin_ttm
Definition: types.hpp:3236
std::string fr_profit_margin
Definition: types.hpp:3235
std::optional< SnapshotForecastMetric > fo_revenue
Definition: types.hpp:3224
std::optional< SnapshotReportedMetric > fr_finance_cash
Definition: types.hpp:3231
std::optional< SnapshotReportedMetric > fr_total_liability
Definition: types.hpp:3233
std::string fr_debt_assets_ratio
Definition: types.hpp:3239
std::string ticker
Definition: types.hpp:3219
Financial reports — list_json contains serialized JSON.
Definition: types.hpp:2889
std::string list_json
Definition: types.hpp:2890
Collection of forecast EPS items.
Definition: types.hpp:2693
std::vector< ForecastEpsItem > items
Definition: types.hpp:2694
Forecast EPS data point from institutional analysts.
Definition: types.hpp:2679
std::string forecast_eps_highest
Definition: types.hpp:2683
std::string forecast_eps_median
Definition: types.hpp:2680
int64_t forecast_start_date
Definition: types.hpp:2687
int32_t institution_total
Definition: types.hpp:2684
std::string forecast_eps_mean
Definition: types.hpp:2681
int32_t institution_up
Definition: types.hpp:2685
int64_t forecast_end_date
Definition: types.hpp:2688
std::string forecast_eps_lowest
Definition: types.hpp:2682
int32_t institution_down
Definition: types.hpp:2686
One fund's holding record for a security.
Definition: types.hpp:2798
std::string code
Definition: types.hpp:2799
std::string name
Definition: types.hpp:2802
std::string currency
Definition: types.hpp:2801
std::string report_date
Definition: types.hpp:2804
std::string position_ratio
Definition: types.hpp:2803
std::string symbol
Definition: types.hpp:2800
Collection of fund holders for a security.
Definition: types.hpp:2809
std::vector< FundHolder > lists
Definition: types.hpp:2810
Holding detail of an ETF asset allocation element (holdings only)
Definition: types.hpp:3294
std::string industry_id
Industry ID.
Definition: types.hpp:3296
std::string index_name
Index name.
Definition: types.hpp:3302
std::string industry_name
Industry name.
Definition: types.hpp:3298
std::string holding_type_name
Holding type name.
Definition: types.hpp:3306
std::string holding_type
Holding type (e.g. E for stock)
Definition: types.hpp:3304
std::string index
Index counter ID (e.g. BK/US/CP99000)
Definition: types.hpp:3300
Definition: types.hpp:3183
std::string ytd_chg
Definition: types.hpp:3188
std::string chg
Definition: types.hpp:3187
std::string next_json
Definition: types.hpp:3189
std::string counter_id
Definition: types.hpp:3185
std::string name
Definition: types.hpp:3184
int32_t stock_num
Definition: types.hpp:3186
Industry peers response.
Definition: types.hpp:3194
IndustryPeersTop top
Definition: types.hpp:3195
std::optional< IndustryPeerNode > chain
Definition: types.hpp:3196
Top-level industry info in the peers response.
Definition: types.hpp:3174
std::string name
Definition: types.hpp:3175
std::string market
Definition: types.hpp:3176
A group of ranked industry items.
Definition: types.hpp:3162
std::vector< IndustryRankItem > lists
Definition: types.hpp:3163
One ranked industry item.
Definition: types.hpp:3149
std::string leading_ticker
Definition: types.hpp:3154
std::string leading_name
Definition: types.hpp:3153
std::string value_name
Definition: types.hpp:3156
std::string value_data
Definition: types.hpp:3157
std::string counter_id
Definition: types.hpp:3151
std::string leading_chg
Definition: types.hpp:3155
std::string chg
Definition: types.hpp:3152
std::string name
Definition: types.hpp:3150
Industry rank response.
Definition: types.hpp:3168
std::vector< IndustryRankGroup > items
Definition: types.hpp:3169
Industry valuation distribution for PE, PB, PS ratios.
Definition: types.hpp:2972
std::optional< ValuationDist > pb
Definition: types.hpp:2974
std::optional< ValuationDist > pe
Definition: types.hpp:2973
std::optional< ValuationDist > ps
Definition: types.hpp:2975
Historical valuation snapshot for an industry peer.
Definition: types.hpp:2928
std::string ps
Definition: types.hpp:2932
std::string date
Definition: types.hpp:2929
std::string pe
Definition: types.hpp:2930
std::string pb
Definition: types.hpp:2931
Valuation data for one industry peer security.
Definition: types.hpp:2937
std::string currency
Definition: types.hpp:2940
std::string five_y_avg_dps
Definition: types.hpp:2947
std::string dps
Definition: types.hpp:2944
std::string div_yld
Definition: types.hpp:2945
std::string pe
Definition: types.hpp:2948
std::string assets
Definition: types.hpp:2941
std::vector< IndustryValuationHistory > history
Definition: types.hpp:2949
std::string bps
Definition: types.hpp:2942
std::string div_payout_ratio
Definition: types.hpp:2946
std::string name
Definition: types.hpp:2939
std::string eps
Definition: types.hpp:2943
std::string symbol
Definition: types.hpp:2938
List of industry valuation items.
Definition: types.hpp:2954
std::vector< IndustryValuationItem > list
Definition: types.hpp:2955
One evaluation data point in an institutional rating detail series.
Definition: types.hpp:2645
int32_t strong_buy
Definition: types.hpp:2650
std::string date
Definition: types.hpp:2647
int32_t buy
Definition: types.hpp:2646
int32_t sell
Definition: types.hpp:2649
int32_t hold
Definition: types.hpp:2648
int32_t under
Definition: types.hpp:2651
Detailed institutional rating including historical evaluate and target series.
Definition: types.hpp:2668
std::string prediction_accuracy
Definition: types.hpp:2672
std::string updated_at
Definition: types.hpp:2673
std::vector< InstitutionRatingDetailTargetItem > target_list
Definition: types.hpp:2674
std::string ccy_symbol
Definition: types.hpp:2669
std::string data_percent
Definition: types.hpp:2671
std::vector< InstitutionRatingDetailEvaluateItem > evaluate_list
Definition: types.hpp:2670
One target price data point in an institutional rating detail series.
Definition: types.hpp:2656
bool meet
Definition: types.hpp:2661
std::string min_target
Definition: types.hpp:2660
std::string avg_target
Definition: types.hpp:2657
std::string price
Definition: types.hpp:2662
std::string date
Definition: types.hpp:2658
std::string max_target
Definition: types.hpp:2659
std::string timestamp
Definition: types.hpp:2663
Combined latest and summary institutional rating data.
Definition: types.hpp:2638
InstitutionRatingLatest latest
Definition: types.hpp:2639
InstitutionRatingSummary summary
Definition: types.hpp:2640
Latest institutional rating data including industry comparison.
Definition: types.hpp:2614
RatingEvaluate evaluate
Definition: types.hpp:2615
int32_t industry_median
Definition: types.hpp:2622
RatingTarget target
Definition: types.hpp:2616
int32_t industry_rank
Definition: types.hpp:2619
std::string industry_name
Definition: types.hpp:2618
int32_t industry_mean
Definition: types.hpp:2621
int32_t industry_total
Definition: types.hpp:2620
int64_t industry_id
Definition: types.hpp:2617
Institutional rating summary with current recommendation and target price.
Definition: types.hpp:2627
std::string updated_at
Definition: types.hpp:2633
std::string target
Definition: types.hpp:2632
std::string change
Definition: types.hpp:2629
std::string ccy_symbol
Definition: types.hpp:2628
RatingSummaryEvaluate evaluate
Definition: types.hpp:2630
InstitutionRecommend recommend
Definition: types.hpp:2631
One historical rating distribution snapshot.
Definition: types.hpp:3131
std::string sell
Definition: types.hpp:3137
std::string over
Definition: types.hpp:3134
std::string under
Definition: types.hpp:3136
std::string hold
Definition: types.hpp:3135
std::string total
Definition: types.hpp:3138
std::string buy
Definition: types.hpp:3133
std::string date
Definition: types.hpp:3132
Institution rating views response.
Definition: types.hpp:3143
std::vector< InstitutionRatingViewItem > elist
Definition: types.hpp:3144
Investment relationship data including parent/subsidiary securities.
Definition: types.hpp:2851
std::string forward_url
Definition: types.hpp:2852
std::vector< InvestSecurity > invest_securities
Definition: types.hpp:2853
One security in an investment relationship (parent/subsidiary holding).
Definition: types.hpp:2837
std::string company_name_en
Definition: types.hpp:2840
std::string company_id
Definition: types.hpp:2838
std::string symbol
Definition: types.hpp:2842
std::string shares_value
Definition: types.hpp:2846
std::string percent_of_shares
Definition: types.hpp:2844
std::string company_name
Definition: types.hpp:2839
std::string currency
Definition: types.hpp:2843
std::string company_name_zhcn
Definition: types.hpp:2841
std::string shares_rank
Definition: types.hpp:2845
One operating indicator from a financial report.
Definition: types.hpp:2858
std::string indicator_value
Definition: types.hpp:2861
std::string indicator_name
Definition: types.hpp:2860
std::string field_name
Definition: types.hpp:2859
std::string yoy
Definition: types.hpp:2862
One operating report item with associated indicators.
Definition: types.hpp:2867
std::vector< OperatingIndicator > indicators
Definition: types.hpp:2878
std::string txt
Definition: types.hpp:2871
std::string financial_currency
Definition: types.hpp:2874
std::string title
Definition: types.hpp:2870
bool latest
Definition: types.hpp:2872
std::string financial_region
Definition: types.hpp:2876
std::string web_url
Definition: types.hpp:2873
std::string financial_name
Definition: types.hpp:2875
std::string financial_report
Definition: types.hpp:2877
std::string id
Definition: types.hpp:2868
std::string report
Definition: types.hpp:2869
List of operating report items.
Definition: types.hpp:2883
std::vector< OperatingItem > list
Definition: types.hpp:2884
One executive or board member.
Definition: types.hpp:2980
std::string title
Definition: types.hpp:2985
std::string id
Definition: types.hpp:2981
std::string name_en
Definition: types.hpp:2984
std::string photo
Definition: types.hpp:2987
std::string name
Definition: types.hpp:2982
std::string name_zhcn
Definition: types.hpp:2983
std::string biography
Definition: types.hpp:2986
std::string wiki_url
Definition: types.hpp:2988
One rating category (e.g. growth, profitability).
Definition: types.hpp:3067
int32_t kind
Definition: types.hpp:3068
std::vector< RatingSubIndicatorGroup > sub_indicators
Definition: types.hpp:3069
Buy/sell/hold evaluation counts from institutional analysts.
Definition: types.hpp:2579
std::string end_date
Definition: types.hpp:2588
int32_t total
Definition: types.hpp:2586
int32_t under
Definition: types.hpp:2583
int32_t buy
Definition: types.hpp:2580
int32_t over
Definition: types.hpp:2581
int32_t hold
Definition: types.hpp:2582
int32_t sell
Definition: types.hpp:2584
std::string start_date
Definition: types.hpp:2587
int32_t no_opinion
Definition: types.hpp:2585
A rating indicator node (parent or leaf).
Definition: types.hpp:3052
std::string letter
Definition: types.hpp:3055
std::string name
Definition: types.hpp:3053
std::string score
Definition: types.hpp:3054
A leaf rating indicator with a raw value.
Definition: types.hpp:3042
std::string value_type
Definition: types.hpp:3045
std::string score
Definition: types.hpp:3046
std::string name
Definition: types.hpp:3043
std::string letter
Definition: types.hpp:3047
std::string value
Definition: types.hpp:3044
A group of sub-indicators under one category indicator.
Definition: types.hpp:3060
RatingIndicator indicator
Definition: types.hpp:3061
std::vector< RatingLeafIndicator > sub_indicators
Definition: types.hpp:3062
Summary evaluation counts for one rating period.
Definition: types.hpp:2603
int32_t under
Definition: types.hpp:2609
int32_t sell
Definition: types.hpp:2607
int32_t strong_buy
Definition: types.hpp:2608
std::string date
Definition: types.hpp:2605
int32_t buy
Definition: types.hpp:2604
int32_t hold
Definition: types.hpp:2606
Analyst price target range.
Definition: types.hpp:2593
std::string prev_close
Definition: types.hpp:2596
std::string start_date
Definition: types.hpp:2597
std::string end_date
Definition: types.hpp:2598
std::string lowest_price
Definition: types.hpp:2595
std::string highest_price
Definition: types.hpp:2594
TTM (trailing twelve months) buyback summary.
Definition: types.hpp:3008
std::string net_buyback_yield_ttm
Definition: types.hpp:3011
std::string currency
Definition: types.hpp:3009
std::string net_buyback_ttm
Definition: types.hpp:3010
One institutional or major shareholder record.
Definition: types.hpp:2778
std::string percent_of_shares
Definition: types.hpp:2782
std::vector< ShareholderStock > stocks
Definition: types.hpp:2785
std::string shares_changed
Definition: types.hpp:2783
std::string shareholder_name
Definition: types.hpp:2780
std::string institution_type
Definition: types.hpp:2781
std::string report_date
Definition: types.hpp:2784
std::string shareholder_id
Definition: types.hpp:2779
Paginated list of shareholders.
Definition: types.hpp:2790
std::string forward_url
Definition: types.hpp:2792
int32_t total
Definition: types.hpp:2793
std::vector< Shareholder > shareholder_list
Definition: types.hpp:2791
A security held by a shareholder.
Definition: types.hpp:2769
std::string market
Definition: types.hpp:2772
std::string chg
Definition: types.hpp:2773
std::string symbol
Definition: types.hpp:2770
std::string code
Definition: types.hpp:2771
A forecast metric in the financial report snapshot.
Definition: types.hpp:3201
std::string est_value
Definition: types.hpp:3205
std::string cmp_desc
Definition: types.hpp:3204
std::string yoy
Definition: types.hpp:3203
std::string value
Definition: types.hpp:3202
A reported metric in the financial report snapshot.
Definition: types.hpp:3210
std::string yoy
Definition: types.hpp:3212
std::string value
Definition: types.hpp:3211
Stock ratings response.
Definition: types.hpp:3074
int32_t multi_score_change
Definition: types.hpp:3080
std::string multi_score
Definition: types.hpp:3078
std::string industry_rank
Definition: types.hpp:3082
std::string multi_letter
Definition: types.hpp:3079
std::string style_txt_name
Definition: types.hpp:3075
std::string industry_median_score
Definition: types.hpp:3085
std::string industry_total
Definition: types.hpp:3083
std::vector< RatingCategory > ratings
Definition: types.hpp:3086
std::string scale_txt_name
Definition: types.hpp:3076
std::string report_period_txt
Definition: types.hpp:3077
std::string industry_name
Definition: types.hpp:3081
std::string industry_mean_score
Definition: types.hpp:3084
One security's valuation comparison item.
Definition: types.hpp:3253
std::string currency
Definition: types.hpp:3256
std::string pb
Definition: types.hpp:3260
std::string market_value
Definition: types.hpp:3257
std::string assets
Definition: types.hpp:3267
std::string eps
Definition: types.hpp:3263
std::string pe
Definition: types.hpp:3259
std::string symbol
Definition: types.hpp:3254
std::string name
Definition: types.hpp:3255
std::vector< ValuationHistoryPoint > history
Definition: types.hpp:3268
std::string ps
Definition: types.hpp:3261
std::string price_close
Definition: types.hpp:3258
std::string dps
Definition: types.hpp:3265
std::string roe
Definition: types.hpp:3262
std::string div_yld
Definition: types.hpp:3266
std::string bps
Definition: types.hpp:3264
Valuation comparison response.
Definition: types.hpp:3273
std::vector< ValuationComparisonItem > list
Definition: types.hpp:3274
Valuation data container.
Definition: types.hpp:2725
ValuationMetricsData metrics
Definition: types.hpp:2726
Distribution statistics for one valuation metric within an industry.
Definition: types.hpp:2960
std::string ranking
Definition: types.hpp:2965
std::string rank_total
Definition: types.hpp:2967
std::string high
Definition: types.hpp:2962
std::string low
Definition: types.hpp:2961
std::string value
Definition: types.hpp:2964
std::string rank_index
Definition: types.hpp:2966
std::string median
Definition: types.hpp:2963
One historical valuation data point.
Definition: types.hpp:3244
std::string ps
Definition: types.hpp:3248
std::string pe
Definition: types.hpp:3246
std::string date
Definition: types.hpp:3245
std::string pb
Definition: types.hpp:3247
Historical valuation response (PE, PB, PS without dividend yield).
Definition: types.hpp:2731
std::optional< ValuationMetricData > pe
Definition: types.hpp:2732
std::optional< ValuationMetricData > ps
Definition: types.hpp:2734
std::optional< ValuationMetricData > pb
Definition: types.hpp:2733
Historical data for one valuation metric (PE, PB, PS, or dividend yield).
Definition: types.hpp:2706
std::vector< ValuationPoint > list
Definition: types.hpp:2711
std::string high
Definition: types.hpp:2708
std::string low
Definition: types.hpp:2709
std::string desc
Definition: types.hpp:2707
std::string median
Definition: types.hpp:2710
All valuation metrics for a security.
Definition: types.hpp:2716
std::optional< ValuationMetricData > dvd_yld
Definition: types.hpp:2720
std::optional< ValuationMetricData > ps
Definition: types.hpp:2719
std::optional< ValuationMetricData > pb
Definition: types.hpp:2718
std::optional< ValuationMetricData > pe
Definition: types.hpp:2717
One data point in a valuation time series.
Definition: types.hpp:2699
int64_t timestamp
Definition: types.hpp:2700
std::string value
Definition: types.hpp:2701
Intraday A/H premium kline series.
Definition: types.hpp:2402
std::vector< AhPremiumKline > klines
Definition: types.hpp:2403
A/H premium candlestick data point.
Definition: types.hpp:2383
std::string currency_rate
Definition: types.hpp:2388
std::string hprice
Definition: types.hpp:2386
std::string hpreclose
Definition: types.hpp:2387
int64_t timestamp
Definition: types.hpp:2391
std::string price_spread
Definition: types.hpp:2390
std::string ahpremium_rate
Definition: types.hpp:2389
std::string aprice
Definition: types.hpp:2384
std::string apreclose
Definition: types.hpp:2385
Historical A/H premium kline series.
Definition: types.hpp:2396
std::vector< AhPremiumKline > klines
Definition: types.hpp:2397
A single anomaly (unusual market movement) alert item.
Definition: types.hpp:2498
std::string alert_name
Definition: types.hpp:2501
int64_t alert_time
Definition: types.hpp:2502
std::string symbol
Definition: types.hpp:2499
std::string name
Definition: types.hpp:2500
int32_t emotion
Definition: types.hpp:2504
std::vector< std::string > change_values
Definition: types.hpp:2503
Response containing anomaly alert items.
Definition: types.hpp:2509
std::vector< AnomalyItem > changes
Definition: types.hpp:2511
bool all_off
Definition: types.hpp:2510
Holding change figures over multiple periods for a broker.
Definition: types.hpp:2341
std::string chg_5
Definition: types.hpp:2344
std::string chg_60
Definition: types.hpp:2346
std::string chg_1
Definition: types.hpp:2343
std::string chg_20
Definition: types.hpp:2345
std::string value
Definition: types.hpp:2342
Historical daily broker holding series.
Definition: types.hpp:2377
std::vector< BrokerHoldingDailyItem > list
Definition: types.hpp:2378
One day's broker holding snapshot.
Definition: types.hpp:2368
std::string chg
Definition: types.hpp:2372
std::string holding
Definition: types.hpp:2370
std::string ratio
Definition: types.hpp:2371
std::string date
Definition: types.hpp:2369
Full broker holding detail with historical change data.
Definition: types.hpp:2361
std::vector< BrokerHoldingDetailItem > list
Definition: types.hpp:2362
std::string updated_at
Definition: types.hpp:2363
Detailed holding entry for one broker including ratio and share changes.
Definition: types.hpp:2351
std::string name
Definition: types.hpp:2352
BrokerHoldingChanges ratio
Definition: types.hpp:2354
bool strong
Definition: types.hpp:2356
BrokerHoldingChanges shares
Definition: types.hpp:2355
std::string parti_number
Definition: types.hpp:2353
One broker's holding entry in a top-holders list.
Definition: types.hpp:2324
bool strong
Definition: types.hpp:2328
std::string name
Definition: types.hpp:2325
std::string parti_number
Definition: types.hpp:2326
std::string chg
Definition: types.hpp:2327
Top broker holders (buy and sell sides).
Definition: types.hpp:2333
std::vector< BrokerHoldingEntry > sell
Definition: types.hpp:2335
std::string updated_at
Definition: types.hpp:2336
std::vector< BrokerHoldingEntry > buy
Definition: types.hpp:2334
One constituent stock of an index.
Definition: types.hpp:2516
bool delay
Definition: types.hpp:2529
std::string last_done
Definition: types.hpp:2519
std::vector< std::string > tags
Definition: types.hpp:2525
std::string intro
Definition: types.hpp:2526
std::string prev_close
Definition: types.hpp:2520
std::string amount
Definition: types.hpp:2523
std::string circulating_shares
Definition: types.hpp:2528
int32_t trade_status
Definition: types.hpp:2531
std::string symbol
Definition: types.hpp:2517
std::string name
Definition: types.hpp:2518
std::string market
Definition: types.hpp:2527
std::string inflow
Definition: types.hpp:2521
std::string total_shares
Definition: types.hpp:2524
std::string balance
Definition: types.hpp:2522
std::string chg
Definition: types.hpp:2530
Index constituent stocks with rise/fall/flat counts.
Definition: types.hpp:2536
std::vector< ConstituentStock > stocks
Definition: types.hpp:2540
int32_t fall_num
Definition: types.hpp:2537
int32_t rise_num
Definition: types.hpp:2539
int32_t flat_num
Definition: types.hpp:2538
Response containing trading status for all markets.
Definition: types.hpp:2318
std::vector< MarketTimeItem > market_time
Definition: types.hpp:2319
Current trading status and timestamps for one market.
Definition: types.hpp:2306
int32_t delay_trade_status
Definition: types.hpp:2310
int32_t delay_sub_status
Definition: types.hpp:2313
longbridge::Market market
Definition: types.hpp:2307
int32_t sub_status
Definition: types.hpp:2312
std::string delay_timestamp
Definition: types.hpp:2311
int32_t trade_status
Definition: types.hpp:2308
std::string timestamp
Definition: types.hpp:2309
One ranked security item.
Definition: types.hpp:2470
std::string volume_rate
Definition: types.hpp:2485
std::string change
Definition: types.hpp:2476
std::string pb_ttm
Definition: types.hpp:2486
std::string pre_post_chg
Definition: types.hpp:2481
std::string turnover_rate
Definition: types.hpp:2484
std::string code
Definition: types.hpp:2472
std::string last_done
Definition: types.hpp:2474
std::string pre_post_price
Definition: types.hpp:2480
std::string name
Definition: types.hpp:2473
std::string industry
Definition: types.hpp:2479
std::string chg
Definition: types.hpp:2475
std::string market_cap
Definition: types.hpp:2478
std::string amplitude
Definition: types.hpp:2482
std::string symbol
Definition: types.hpp:2471
std::string inflow
Definition: types.hpp:2477
std::string five_day_chg
Definition: types.hpp:2483
Response for rank_list.
Definition: types.hpp:2491
bool bmp
Definition: types.hpp:2492
std::vector< RankListItem > lists
Definition: types.hpp:2493
One top-movers event entry.
Definition: types.hpp:2452
std::string post
Definition: types.hpp:2457
TopMoversStock stock
Definition: types.hpp:2456
int64_t alert_type
Definition: types.hpp:2455
std::string alert_reason
Definition: types.hpp:2454
std::string timestamp
Definition: types.hpp:2453
Response for top_movers.
Definition: types.hpp:2462
std::string next_params
Pagination cursor as a JSON string.
Definition: types.hpp:2465
std::vector< TopMoversEvent > events
Definition: types.hpp:2463
Stock information within a top-movers event.
Definition: types.hpp:2438
std::string symbol
Definition: types.hpp:2439
std::vector< std::string > labels
Definition: types.hpp:2447
std::string name
Definition: types.hpp:2441
std::string code
Definition: types.hpp:2440
std::string change
Definition: types.hpp:2443
std::string full_name
Definition: types.hpp:2442
std::string last_done
Definition: types.hpp:2444
std::string market
Definition: types.hpp:2445
std::string logo
Definition: types.hpp:2446
Trade volume and amount aggregated at one price level.
Definition: types.hpp:2408
std::string buy_amount
Definition: types.hpp:2409
std::string price
Definition: types.hpp:2411
std::string sell_amount
Definition: types.hpp:2412
std::string neutral_amount
Definition: types.hpp:2410
Aggregate buy/sell/neutral trade statistics for a security.
Definition: types.hpp:2417
std::string total_amount
Definition: types.hpp:2424
std::string timestamp
Definition: types.hpp:2423
std::string trades_count
Definition: types.hpp:2426
std::string preclose
Definition: types.hpp:2421
std::string neutral
Definition: types.hpp:2420
std::string buy
Definition: types.hpp:2419
std::string sell
Definition: types.hpp:2422
std::vector< std::string > trade_date
Definition: types.hpp:2425
std::string avgprice
Definition: types.hpp:2418
Response for trade statistics including per-price-level breakdown.
Definition: types.hpp:2431
std::vector< TradePriceLevel > trades
Definition: types.hpp:2433
TradeStatistics statistics
Definition: types.hpp:2432
Brokers.
Definition: types.hpp:250
std::vector< int32_t > broker_ids
Broker IDs.
Definition: types.hpp:254
int32_t position
Position.
Definition: types.hpp:252
Candlestick.
Definition: types.hpp:553
int64_t timestamp
Timestamp.
Definition: types.hpp:567
TradeSession trade_session
Trade session.
Definition: types.hpp:569
Decimal turnover
Turnover.
Definition: types.hpp:565
Decimal close
Close price.
Definition: types.hpp:555
Decimal high
High price.
Definition: types.hpp:561
Decimal open
Open price.
Definition: types.hpp:557
int64_t volume
Volume.
Definition: types.hpp:563
Decimal low
Low price.
Definition: types.hpp:559
Capital distribution.
Definition: types.hpp:762
Decimal large
Large order.
Definition: types.hpp:764
Decimal small
Small order.
Definition: types.hpp:768
Decimal medium
Medium order.
Definition: types.hpp:766
Capital distribution response.
Definition: types.hpp:773
int64_t timestamp
Time.
Definition: types.hpp:775
CapitalDistribution capital_in
Inflow capital data.
Definition: types.hpp:777
CapitalDistribution capital_out
Outflow capital data.
Definition: types.hpp:779
Capital flow line.
Definition: types.hpp:753
Decimal inflow
Inflow capital data.
Definition: types.hpp:755
int64_t timestamp
Time.
Definition: types.hpp:757
An request for create watchlist group.
Definition: types.hpp:821
std::string name
Group name.
Definition: types.hpp:823
std::vector< std::string > securities
Securities.
Definition: types.hpp:825
Definition: types.hpp:226
std::optional< Decimal > price
Price.
Definition: types.hpp:230
int32_t position
Position.
Definition: types.hpp:228
int64_t volume
Volume.
Definition: types.hpp:232
int64_t order_num
Number of orders.
Definition: types.hpp:234
Derivative type.
Definition: types.hpp:122
uint8_t value
Definition: types.hpp:123
Filing item.
Definition: types.hpp:1252
std::string description
Description.
Definition: types.hpp:1258
std::string file_name
File name.
Definition: types.hpp:1260
std::string id
Filing ID.
Definition: types.hpp:1254
std::string title
Title.
Definition: types.hpp:1256
std::vector< std::string > file_urls
File URLs.
Definition: types.hpp:1262
int64_t published_at
Published time (Unix timestamp)
Definition: types.hpp:1264
History market temperature response.
Definition: types.hpp:1243
Granularity granularity
Granularity.
Definition: types.hpp:1245
std::vector< MarketTemperature > records
Records.
Definition: types.hpp:1247
Intraday line.
Definition: types.hpp:682
Decimal avg_price
Definition: types.hpp:687
Decimal turnover
Definition: types.hpp:686
int64_t timestamp
Definition: types.hpp:684
Decimal price
Definition: types.hpp:683
int64_t volume
Definition: types.hpp:685
Issuer info.
Definition: types.hpp:712
int32_t issuer_id
Issuer ID.
Definition: types.hpp:714
std::string name_en
Issuer name (en)
Definition: types.hpp:718
std::string name_cn
Issuer name (zh-CN)
Definition: types.hpp:716
std::string name_hk
Issuer name (zh-HK)
Definition: types.hpp:720
Market temperature.
Definition: types.hpp:1215
int32_t temperature
Temperature value.
Definition: types.hpp:1217
int32_t valuation
Market valuation.
Definition: types.hpp:1221
std::string description
Temperature description.
Definition: types.hpp:1219
int32_t sentiment
Market sentiment.
Definition: types.hpp:1223
int64_t timestamp
Time.
Definition: types.hpp:1225
Market trading days.
Definition: types.hpp:744
std::vector< Date > half_trading_days
Half trading days.
Definition: types.hpp:748
std::vector< Date > trading_days
Trading days.
Definition: types.hpp:746
Market trading session.
Definition: types.hpp:735
std::vector< TradingSessionInfo > trade_session
Trading session.
Definition: types.hpp:739
Market market
Market.
Definition: types.hpp:737
Quote of option.
Definition: types.hpp:478
Decimal prev_close
Yesterday's close.
Definition: types.hpp:483
TradeStatus trade_status
Security trading status.
Definition: types.hpp:497
OptionDirection direction
Option direction.
Definition: types.hpp:513
int64_t open_interest
Number of open positions.
Definition: types.hpp:501
int64_t timestamp
Time of latest price.
Definition: types.hpp:491
Decimal contract_size
Contract size.
Definition: types.hpp:511
Decimal contract_multiplier
Contract multiplier.
Definition: types.hpp:507
Decimal turnover
Turnover.
Definition: types.hpp:495
Decimal strike_price
Strike price.
Definition: types.hpp:505
OptionType contract_type
Option type.
Definition: types.hpp:509
Date expiry_date
Exprity date.
Definition: types.hpp:503
int64_t volume
Volume.
Definition: types.hpp:493
Decimal low
Low.
Definition: types.hpp:489
Decimal last_done
Latest price.
Definition: types.hpp:481
Decimal historical_volatility
Underlying security historical volatility of the option.
Definition: types.hpp:515
Decimal high
High.
Definition: types.hpp:487
Decimal implied_volatility
Implied volatility.
Definition: types.hpp:499
std::string symbol
Security code.
Definition: types.hpp:479
Decimal open
Open.
Definition: types.hpp:485
std::string underlying_symbol
Underlying security symbol of the option.
Definition: types.hpp:517
Definition: types.hpp:1346
std::vector< OptionVolumeDailyStat > stats
Definition: types.hpp:1347
Definition: types.hpp:1332
std::string total_call_open_interest
Definition: types.hpp:1341
std::string symbol
Definition: types.hpp:1333
std::string put_call_open_interest_ratio
Definition: types.hpp:1342
std::string total_put_open_interest
Definition: types.hpp:1340
std::string total_put_volume
Definition: types.hpp:1336
std::string total_open_interest
Definition: types.hpp:1339
std::string total_volume
Definition: types.hpp:1335
std::string put_call_volume_ratio
Definition: types.hpp:1338
std::string total_call_volume
Definition: types.hpp:1337
std::string timestamp
Definition: types.hpp:1334
Definition: types.hpp:1326
std::string c
Definition: types.hpp:1327
std::string p
Definition: types.hpp:1328
Definition: types.hpp:669
std::string name_hk
Participant name (zh-HK)
Definition: types.hpp:677
std::string name_en
Participant name (en)
Definition: types.hpp:675
std::vector< int32_t > broker_ids
Broker IDs.
Definition: types.hpp:671
std::string name_cn
Participant name (zh-CN)
Definition: types.hpp:673
Quote of US pre/post market.
Definition: types.hpp:406
int64_t timestamp
Time of latest price.
Definition: types.hpp:410
Decimal low
Low.
Definition: types.hpp:418
Decimal turnover
Turnover.
Definition: types.hpp:414
Decimal high
High.
Definition: types.hpp:416
int64_t volume
Volume.
Definition: types.hpp:412
Decimal last_done
Latest price.
Definition: types.hpp:408
Decimal prev_close
Close of the last trade session.
Definition: types.hpp:420
Brokers message.
Definition: types.hpp:259
std::vector< Brokers > bid_brokers
Bid brokers.
Definition: types.hpp:265
std::vector< Brokers > ask_brokers
Ask brokers.
Definition: types.hpp:263
std::string symbol
Security code.
Definition: types.hpp:261
Candlestick updated message.
Definition: types.hpp:574
Period period
Period type.
Definition: types.hpp:578
bool is_confirmed
Is confirmed.
Definition: types.hpp:582
std::string symbol
Security code.
Definition: types.hpp:576
Candlestick candlestick
Candlestick.
Definition: types.hpp:580
Depth message.
Definition: types.hpp:239
std::vector< Depth > asks
Ask depth.
Definition: types.hpp:243
std::string symbol
Security code.
Definition: types.hpp:241
std::vector< Depth > bids
Bid depth.
Definition: types.hpp:245
Quote message.
Definition: types.hpp:198
Decimal high
High.
Definition: types.hpp:206
TradeStatus trade_status
Security trading status.
Definition: types.hpp:216
int64_t timestamp
Time of latest price.
Definition: types.hpp:210
Decimal last_done
Latest price.
Definition: types.hpp:202
Decimal turnover
Turnover.
Definition: types.hpp:214
int64_t current_volume
Increase volume between pushes.
Definition: types.hpp:220
int64_t volume
Volume.
Definition: types.hpp:212
Decimal urrent_turnover
Increase turnover between pushes.
Definition: types.hpp:222
TradeSession trade_session
Trade session.
Definition: types.hpp:218
Decimal low
Low.
Definition: types.hpp:208
Decimal open
Open.
Definition: types.hpp:204
std::string symbol
Security code.
Definition: types.hpp:200
Trades message.
Definition: types.hpp:544
std::string symbol
Security code.
Definition: types.hpp:546
std::vector< Trade > trades
Trades data.
Definition: types.hpp:548
Quote package detail.
Definition: types.hpp:1191
int64_t start_at
Start at.
Definition: types.hpp:1199
std::string description
Description.
Definition: types.hpp:1197
std::string key
Key.
Definition: types.hpp:1193
int64_t end_at
End at.
Definition: types.hpp:1201
std::string name
Name.
Definition: types.hpp:1195
Real-time quote.
Definition: types.hpp:843
Decimal high
High.
Definition: types.hpp:851
Decimal open
Open.
Definition: types.hpp:849
std::string symbol
Security code.
Definition: types.hpp:845
Decimal turnover
Turnover.
Definition: types.hpp:859
int64_t timestamp
Time of latest price.
Definition: types.hpp:855
int64_t volume
Volume.
Definition: types.hpp:857
Decimal last_done
Latest price.
Definition: types.hpp:847
TradeStatus trade_status
Security trading status.
Definition: types.hpp:861
Decimal low
Low.
Definition: types.hpp:853
Security brokers.
Definition: types.hpp:661
std::vector< Brokers > bid_brokers
Bid brokers.
Definition: types.hpp:665
std::vector< Brokers > ask_brokers
Ask brokers.
Definition: types.hpp:663
Security calc index response.
Definition: types.hpp:951
std::optional< Decimal > balance_point
Breakeven point.
Definition: types.hpp:1021
std::optional< Decimal > change_rate
Change ratio.
Definition: types.hpp:959
std::optional< Decimal > lower_strike_price
Lower bound price.
Definition: types.hpp:997
std::optional< Date > expiry_date
Expiry date.
Definition: types.hpp:991
std::optional< Decimal > theta
Theta.
Definition: types.hpp:1029
std::optional< Decimal > conversion_ratio
Conversion ratio.
Definition: types.hpp:1019
std::optional< Decimal > leverage_ratio
Leverage ratio.
Definition: types.hpp:1017
std::optional< Decimal > five_day_change_rate
Five days change ratio.
Definition: types.hpp:983
std::optional< int64_t > open_interest
Open interest.
Definition: types.hpp:1023
std::optional< Decimal > ten_day_change_rate
Ten days change ratio.
Definition: types.hpp:985
std::optional< Decimal > volume_ratio
Volume ratio.
Definition: types.hpp:975
std::string symbol
Security code.
Definition: types.hpp:953
std::optional< Decimal > call_price
Call price.
Definition: types.hpp:1011
std::optional< Decimal > turnover
Turnover.
Definition: types.hpp:963
std::optional< Decimal > warrant_delta
Warrant delta.
Definition: types.hpp:1009
std::optional< Decimal > ytd_change_rate
Year-to-date change ratio.
Definition: types.hpp:965
std::optional< int64_t > volume
Volume.
Definition: types.hpp:961
std::optional< Decimal > capital_flow
Capital flow.
Definition: types.hpp:971
std::optional< int64_t > outstanding_qty
Outstanding quantity.
Definition: types.hpp:999
std::optional< Decimal > pe_ttm_ratio
PE (TTM)
Definition: types.hpp:977
std::optional< Decimal > last_done
Latest price.
Definition: types.hpp:955
std::optional< Decimal > delta
Delta.
Definition: types.hpp:1025
std::optional< Decimal > vega
Vega.
Definition: types.hpp:1031
std::optional< Decimal > itm_otm
In/out of the bound.
Definition: types.hpp:1005
std::optional< Decimal > outstanding_ratio
Outstanding ratio.
Definition: types.hpp:1001
std::optional< Decimal > strike_price
Strike price.
Definition: types.hpp:993
std::optional< Decimal > implied_volatility
Implied volatility.
Definition: types.hpp:1007
std::optional< Decimal > half_year_change_rate
Half year change ratio.
Definition: types.hpp:987
std::optional< Decimal > amplitude
Amplitude.
Definition: types.hpp:973
std::optional< Decimal > premium
Premium.
Definition: types.hpp:1003
std::optional< Decimal > effective_leverage
Effective leverage.
Definition: types.hpp:1015
std::optional< Decimal > turnover_rate
Turnover rate.
Definition: types.hpp:967
std::optional< Decimal > upper_strike_price
Upper bound price.
Definition: types.hpp:995
std::optional< Decimal > rho
Rho.
Definition: types.hpp:1033
std::optional< Decimal > dividend_ratio_ttm
Dividend ratio (TTM)
Definition: types.hpp:981
std::optional< Decimal > gamma
Gamma.
Definition: types.hpp:1027
std::optional< Decimal > change_value
Change value.
Definition: types.hpp:957
std::optional< Decimal > total_market_value
Total market value.
Definition: types.hpp:969
std::optional< Decimal > to_call_price
Price interval from the call price.
Definition: types.hpp:1013
std::optional< Decimal > five_minutes_change_rate
Five minutes change ratio.
Definition: types.hpp:989
std::optional< Decimal > pb_ratio
PB.
Definition: types.hpp:979
Security depth.
Definition: types.hpp:652
std::vector< Depth > asks
Ask depth.
Definition: types.hpp:654
std::vector< Depth > bids
Bid depth.
Definition: types.hpp:656
Security.
Definition: types.hpp:329
std::string name_hk
Security name (zh-HK)
Definition: types.hpp:337
std::string symbol
Security code.
Definition: types.hpp:331
std::string name_cn
Security name (zh-CN)
Definition: types.hpp:333
std::string name_en
Security name (en)
Definition: types.hpp:335
Quote of securitity.
Definition: types.hpp:425
Decimal last_done
Latest price.
Definition: types.hpp:429
Decimal turnover
Turnover.
Definition: types.hpp:443
Decimal prev_close
Yesterday's close.
Definition: types.hpp:431
std::string symbol
Security code.
Definition: types.hpp:427
TradeStatus trade_status
Security trading status.
Definition: types.hpp:445
Decimal high
High.
Definition: types.hpp:435
std::optional< PrePostQuote > post_market_quote
Quote of US post market.
Definition: types.hpp:449
std::optional< PrePostQuote > pre_market_quote
Quote of US pre market.
Definition: types.hpp:447
int64_t volume
Volume.
Definition: types.hpp:441
std::optional< PrePostQuote > overnight_quote
Quote of US overnight market.
Definition: types.hpp:451
int64_t timestamp
Time of latest price.
Definition: types.hpp:439
Decimal open
Open.
Definition: types.hpp:433
Decimal low
Low.
Definition: types.hpp:437
The basic information of securities.
Definition: types.hpp:342
std::string currency
Trading currency.
Definition: types.hpp:354
int64_t hk_shares
HK shares (only HK stocks)
Definition: types.hpp:362
std::string symbol
Security code.
Definition: types.hpp:344
std::string name_cn
Security name (zh-CN)
Definition: types.hpp:346
int64_t total_shares
Total shares.
Definition: types.hpp:358
Decimal eps
Earnings per share.
Definition: types.hpp:364
std::string name_hk
Security name (zh-HK)
Definition: types.hpp:350
Decimal eps_ttm
Earnings per share (TTM)
Definition: types.hpp:366
Decimal dividend_yield
Dividend (per share), not the dividend yield (ratio).
Definition: types.hpp:370
SecurityBoard board
Board.
Definition: types.hpp:374
std::string exchange
Exchange which the security belongs to.
Definition: types.hpp:352
int32_t lot_size
Lot size.
Definition: types.hpp:356
DerivativeType stock_derivatives
Types of supported derivatives.
Definition: types.hpp:372
int64_t circulating_shares
Circulating shares.
Definition: types.hpp:360
std::string name_en
Security name (en)
Definition: types.hpp:348
Decimal bps
Net assets per share.
Definition: types.hpp:368
One short-position record, unified for US and HK markets.
Definition: types.hpp:1269
std::string timestamp
Trading date in RFC 3339 format.
Definition: types.hpp:1271
std::string close
Closing price.
Definition: types.hpp:1275
std::string days_to_cover
[US] Days-to-cover ratio
Definition: types.hpp:1281
std::string cost
[HK] Closing price (HK naming)
Definition: types.hpp:1287
std::string current_shares_short
[US] Number of short shares outstanding
Definition: types.hpp:1277
std::string rate
Short ratio.
Definition: types.hpp:1273
std::string balance
[HK] Short position balance
Definition: types.hpp:1285
std::string amount
[HK] Short sale amount (HKD)
Definition: types.hpp:1283
std::string avg_daily_share_volume
[US] Average daily share volume
Definition: types.hpp:1279
Short interest / positions response (HK or US).
Definition: types.hpp:1292
std::vector< ShortPositionsItem > data
Short position records.
Definition: types.hpp:1294
One short-trade record, unified for US and HK markets.
Definition: types.hpp:1299
std::string rate
Short ratio.
Definition: types.hpp:1303
std::string total_amount
[US] Total short amount
Definition: types.hpp:1311
std::string balance
[HK] Short position balance
Definition: types.hpp:1315
std::string amount
[HK] Short sale turnover amount (HKD)
Definition: types.hpp:1313
std::string close
Closing price.
Definition: types.hpp:1305
std::string timestamp
Trading date in RFC 3339 format.
Definition: types.hpp:1301
std::string ny_amount
[US] NYSE short sale volume
Definition: types.hpp:1309
std::string nus_amount
[US] NASDAQ short sale volume
Definition: types.hpp:1307
Short trade records response (HK or US).
Definition: types.hpp:1320
std::vector< ShortTradesItem > data
Short trade records.
Definition: types.hpp:1322
Strike price info.
Definition: types.hpp:699
std::string put_symbol
Security code of put option.
Definition: types.hpp:705
Decimal price
Strike price.
Definition: types.hpp:701
bool standard
Is standard.
Definition: types.hpp:707
std::string call_symbol
Security code of call option.
Definition: types.hpp:703
Subscription.
Definition: types.hpp:174
SubFlags sub_types
Subscription flags.
Definition: types.hpp:178
std::vector< Period > candlesticks
Candlesticks.
Definition: types.hpp:180
std::string symbol
Security code.
Definition: types.hpp:176
Trade.
Definition: types.hpp:533
TradeSession trade_session
Definition: types.hpp:539
Decimal price
Definition: types.hpp:534
int64_t timestamp
Definition: types.hpp:536
std::string trade_type
Definition: types.hpp:537
int64_t volume
Definition: types.hpp:535
TradeDirection direction
Definition: types.hpp:538
Definition: types.hpp:724
Time end_time
End trading time.
Definition: types.hpp:728
Time begin_time
Being trading time.
Definition: types.hpp:726
TradeSession trade_session
Trading session.
Definition: types.hpp:730
An request for update watchlist group.
Definition: types.hpp:830
int64_t id
Group id.
Definition: types.hpp:832
std::optional< std::vector< std::string > > securities
Securities.
Definition: types.hpp:836
std::optional< std::string > name
Group name.
Definition: types.hpp:834
SecuritiesUpdateMode mode
Securities Update Mode.
Definition: types.hpp:838
Warrant info.
Definition: types.hpp:1129
std::optional< Decimal > conversion_ratio
Conversion ratio.
Definition: types.hpp:1175
std::string name
Security name.
Definition: types.hpp:1135
std::optional< Decimal > to_call_price
Price interval from the call price.
Definition: types.hpp:1169
std::optional< Decimal > upper_strike_price
Upper strike price.
Definition: types.hpp:1151
WarrantType warrant_type
Warrant type.
Definition: types.hpp:1133
std::string symbol
Security code.
Definition: types.hpp:1131
int64_t volume
Volume.
Definition: types.hpp:1143
Decimal turnover
Turnover.
Definition: types.hpp:1145
Date expiry_date
Expiry date.
Definition: types.hpp:1147
std::optional< Decimal > implied_volatility
Implied volatility.
Definition: types.hpp:1163
Decimal change_value
Quote change.
Definition: types.hpp:1141
std::optional< Decimal > delta
Delta.
Definition: types.hpp:1165
std::optional< Decimal > balance_point
Breakeven point.
Definition: types.hpp:1177
std::optional< Decimal > call_price
Call price.
Definition: types.hpp:1167
int64_t outstanding_qty
Outstanding quantity.
Definition: types.hpp:1155
Decimal change_rate
Quote change rate.
Definition: types.hpp:1139
WarrantStatus status
Status.
Definition: types.hpp:1179
Decimal leverage_ratio
Leverage ratio.
Definition: types.hpp:1173
Decimal last_done
Latest price.
Definition: types.hpp:1137
std::optional< Decimal > itm_otm
In/out of the bound.
Definition: types.hpp:1161
Decimal premium
Premium.
Definition: types.hpp:1159
std::optional< Decimal > strike_price
Strike price.
Definition: types.hpp:1149
std::optional< Decimal > effective_leverage
Effective leverage.
Definition: types.hpp:1171
std::optional< Decimal > lower_strike_price
Lower strike price.
Definition: types.hpp:1153
Decimal outstanding_ratio
Outstanding ratio.
Definition: types.hpp:1157
Quote of warrant.
Definition: types.hpp:604
Decimal strike_price
Strike price.
Definition: types.hpp:639
Date expiry_date
Exprity date.
Definition: types.hpp:627
Decimal open
Open.
Definition: types.hpp:611
Decimal turnover
Turnover.
Definition: types.hpp:621
int64_t volume
Volume.
Definition: types.hpp:619
WarrantType category
Warrant type.
Definition: types.hpp:637
Decimal low
Low.
Definition: types.hpp:615
TradeStatus trade_status
Security trading status.
Definition: types.hpp:623
Decimal upper_strike_price
Upper bound price.
Definition: types.hpp:641
int64_t outstanding_quantity
Outstanding quantity.
Definition: types.hpp:633
Decimal prev_close
Yesterday's close.
Definition: types.hpp:609
int64_t timestamp
Time of latest price.
Definition: types.hpp:617
Date last_trade_date
Last tradalbe date.
Definition: types.hpp:629
std::string symbol
Security code.
Definition: types.hpp:605
Decimal high
High.
Definition: types.hpp:613
Decimal lower_strike_price
Lower bound price.
Definition: types.hpp:643
Decimal last_done
Latest price.
Definition: types.hpp:607
Decimal conversion_ratio
Conversion ratio.
Definition: types.hpp:635
Decimal implied_volatility
Implied volatility.
Definition: types.hpp:625
Decimal outstanding_ratio
Outstanding ratio.
Definition: types.hpp:631
std::string underlying_symbol
Underlying security symbol of the warrant.
Definition: types.hpp:647
Decimal call_price
Call price.
Definition: types.hpp:645
Watchlist group.
Definition: types.hpp:799
int64_t id
Group id.
Definition: types.hpp:801
std::vector< WatchlistSecurity > securities
Securities.
Definition: types.hpp:805
std::string name
Group name.
Definition: types.hpp:803
Watchlist security.
Definition: types.hpp:784
std::string symbol
Security symbol.
Definition: types.hpp:786
std::optional< Decimal > watched_price
Watched price.
Definition: types.hpp:792
std::string name
Security name.
Definition: types.hpp:790
int64_t watched_at
Watched time.
Definition: types.hpp:794
Market market
Market.
Definition: types.hpp:788
Response for SharelistContext::detail.
Definition: types.hpp:3629
SharelistScopes scopes
Subscription scope flags for the current user.
Definition: types.hpp:3633
SharelistInfo sharelist
Sharelist info including constituent stocks.
Definition: types.hpp:3631
Sharelist metadata and constituent stocks.
Definition: types.hpp:3585
int64_t subscribers_count
Number of subscribers.
Definition: types.hpp:3595
int64_t created_at
Creation time (Unix timestamp)
Definition: types.hpp:3597
std::string this_year_chg
YTD change percentage.
Definition: types.hpp:3601
std::string description
Description.
Definition: types.hpp:3591
int64_t id
Sharelist ID.
Definition: types.hpp:3587
std::string cover
Cover image URL.
Definition: types.hpp:3593
std::vector< SharelistStock > stocks
Constituent stocks.
Definition: types.hpp:3605
int32_t sharelist_type
Sharelist type: 0=regular, 3=official, 4=industry.
Definition: types.hpp:3611
std::string name
Name.
Definition: types.hpp:3589
bool subscribed
Whether the current user is subscribed.
Definition: types.hpp:3607
std::string creator
Creator info (serialised JSON)
Definition: types.hpp:3603
int64_t edited_at
Last stock edit time (Unix timestamp)
Definition: types.hpp:3599
std::string industry_code
Industry code (for industry sharelists)
Definition: types.hpp:3613
std::string chg
Day change percentage.
Definition: types.hpp:3609
Response for SharelistContext::list and SharelistContext::popular.
Definition: types.hpp:3618
std::vector< SharelistInfo > sharelists
User's own and followed sharelists.
Definition: types.hpp:3620
std::vector< SharelistInfo > subscribed_sharelists
Subscribed sharelists (may be empty in popular response)
Definition: types.hpp:3622
std::string tail_mark
Pagination cursor for the subscribed list.
Definition: types.hpp:3624
Subscription scope flags for a sharelist.
Definition: types.hpp:3576
bool subscription
Whether the current user is subscribed to this sharelist.
Definition: types.hpp:3578
bool is_self
Whether the current user is the creator of this sharelist.
Definition: types.hpp:3580
A security constituent of a sharelist.
Definition: types.hpp:3553
std::string unread_change_log_category
Unread change log category.
Definition: types.hpp:3565
std::string name
Security name.
Definition: types.hpp:3557
std::string market
Market, e.g. "HK".
Definition: types.hpp:3559
std::optional< std::string > change
Day change percentage (absent when quote unavailable)
Definition: types.hpp:3567
std::string intro
Brief description.
Definition: types.hpp:3563
std::string code
Ticker code.
Definition: types.hpp:3561
std::string symbol
Security symbol.
Definition: types.hpp:3555
std::optional< std::string > last_done
Latest price (absent when quote unavailable)
Definition: types.hpp:3569
std::optional< int32_t > trade_status
Trade status code (absent when quote unavailable)
Definition: types.hpp:3571
Account balance.
Definition: types.hpp:1787
Decimal total_cash
Total cash.
Definition: types.hpp:1789
Decimal max_finance_amount
Maximum financing amount.
Definition: types.hpp:1791
std::vector< FrozenTransactionFee > frozen_transaction_fees
Frozen transaction fees.
Definition: types.hpp:1811
Decimal maintenance_margin
Maintenance margin.
Definition: types.hpp:1807
Decimal net_assets
Net assets.
Definition: types.hpp:1803
Decimal init_margin
Initial margin.
Definition: types.hpp:1805
std::string currency
Currency.
Definition: types.hpp:1799
Decimal buy_power
Buy power.
Definition: types.hpp:1809
Decimal margin_call
Margin call.
Definition: types.hpp:1797
Decimal remaining_finance_amount
Remaining financing amount.
Definition: types.hpp:1793
int32_t risk_level
Risk control level.
Definition: types.hpp:1795
std::vector< CashInfo > cash_infos
Cash details.
Definition: types.hpp:1801
Cash flow.
Definition: types.hpp:1840
std::optional< std::string > symbol
Associated Stock code information.
Definition: types.hpp:1854
std::string transaction_flow_name
Cash flow name.
Definition: types.hpp:1842
std::string description
Cash flow description.
Definition: types.hpp:1856
int64_t business_time
Business time.
Definition: types.hpp:1852
CashFlowDirection direction
Outflow direction.
Definition: types.hpp:1844
Decimal balance
Cash amount.
Definition: types.hpp:1848
BalanceType business_type
Balance type.
Definition: types.hpp:1846
std::string currency
Cash currency.
Definition: types.hpp:1850
Cash info.
Definition: types.hpp:1765
Decimal frozen_cash
Frozen cash.
Definition: types.hpp:1771
Decimal settling_cash
Cash to be settled.
Definition: types.hpp:1773
Decimal withdraw_cash
Withdraw cash.
Definition: types.hpp:1767
Decimal available_cash
Available cash.
Definition: types.hpp:1769
std::string currency
Currency.
Definition: types.hpp:1775
Options for estimate maximum purchase quantity.
Definition: types.hpp:2141
std::string symbol
Security code.
Definition: types.hpp:2143
OrderType order_type
Order type.
Definition: types.hpp:2145
bool fractional_shares
Get the maximum fractional share buying power.
Definition: types.hpp:2156
std::optional< Decimal > price
Estimated order price.
Definition: types.hpp:2149
OrderSide side
Order side.
Definition: types.hpp:2147
std::optional< std::string > currency
Settlement currency.
Definition: types.hpp:2151
std::optional< std::string > order_id
Definition: types.hpp:2154
Response for estimate maximum purchase quantity.
Definition: types.hpp:2161
Decimal margin_max_qty
Margin available quantity.
Definition: types.hpp:2165
Decimal cash_max_qty
Cash available quantity.
Definition: types.hpp:2163
Exexution.
Definition: types.hpp:1363
Decimal price
Definition: types.hpp:1369
Decimal quantity
Definition: types.hpp:1368
std::string trade_id
Definition: types.hpp:1365
std::string symbol
Definition: types.hpp:1366
std::string order_id
Definition: types.hpp:1364
int64_t trade_done_at
Definition: types.hpp:1367
Frozen transaction fee.
Definition: types.hpp:1780
std::string currency
Definition: types.hpp:1781
Decimal frozen_transaction_fee
Definition: types.hpp:1782
Fund position channel.
Definition: types.hpp:1911
std::string account_channel
Account type.
Definition: types.hpp:1913
std::vector< FundPosition > positions
Fund positions.
Definition: types.hpp:1915
Fund position.
Definition: types.hpp:1892
Decimal holding_units
Holding units.
Definition: types.hpp:1906
std::string currency
Currency.
Definition: types.hpp:1902
std::string symbol_name
Fund name.
Definition: types.hpp:1900
Decimal current_net_asset_value
Current equity.
Definition: types.hpp:1896
int64_t net_asset_value_day
Current equity time.
Definition: types.hpp:1898
Decimal cost_net_asset_value
Net cost.
Definition: types.hpp:1904
std::string symbol
Fund ISIN code.
Definition: types.hpp:1894
Fund positions response.
Definition: types.hpp:1920
std::vector< FundPositionChannel > channels
Channels.
Definition: types.hpp:1922
Options for submit order request.
Definition: types.hpp:1861
int64_t end_at
End time.
Definition: types.hpp:1865
std::optional< uintptr_t > page
Page number.
Definition: types.hpp:1871
int64_t start_at
Start time.
Definition: types.hpp:1863
std::optional< uintptr_t > size
Page size.
Definition: types.hpp:1873
std::optional< BalanceType > business_type
Business type.
Definition: types.hpp:1867
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:1869
Options for get fund positions request.
Definition: types.hpp:1878
std::optional< std::vector< std::string > > symbols
Fund symbols.
Definition: types.hpp:1880
Options for get history executions request.
Definition: types.hpp:1374
std::optional< std::string > symbol
Security code.
Definition: types.hpp:1380
std::optional< int64_t > end_at
End time.
Definition: types.hpp:1378
std::optional< int64_t > start_at
Start time.
Definition: types.hpp:1376
Options for get history orders request.
Definition: types.hpp:1661
std::optional< int64_t > end_at
End time.
Definition: types.hpp:1673
std::optional< OrderSide > side
Order side.
Definition: types.hpp:1667
std::optional< Market > market
Market.
Definition: types.hpp:1669
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:1663
std::optional< std::vector< OrderStatus > > status
Order status.
Definition: types.hpp:1665
std::optional< int64_t > start_at
Start time.
Definition: types.hpp:1671
Options for get stock positions request.
Definition: types.hpp:1885
std::optional< std::vector< std::string > > symbols
Stock symbols.
Definition: types.hpp:1887
Options for get today executions request.
Definition: types.hpp:1385
std::optional< std::string > order_id
Order id.
Definition: types.hpp:1389
std::optional< std::string > symbol
Security code.
Definition: types.hpp:1387
Options for get today orders request.
Definition: types.hpp:1678
std::optional< std::string > symbol
Security symbol.
Definition: types.hpp:1680
std::optional< std::string > order_id
Order id.
Definition: types.hpp:1688
std::optional< std::vector< OrderStatus > > status
Order status.
Definition: types.hpp:1682
std::optional< Market > market
Market.
Definition: types.hpp:1686
std::optional< OrderSide > side
Order side.
Definition: types.hpp:1684
Margin ratio.
Definition: types.hpp:1965
Decimal mm_factor
Maintain the initial margin ratio.
Definition: types.hpp:1969
Decimal im_factor
Initial margin ratio.
Definition: types.hpp:1967
Decimal fm_factor
Forced close-out margin ratio.
Definition: types.hpp:1971
Order charge detail.
Definition: types.hpp:2045
std::string currency
Settlement currency.
Definition: types.hpp:2049
std::vector< OrderChargeItem > items
Order charge items.
Definition: types.hpp:2051
Decimal total_amount
Total charges amount.
Definition: types.hpp:2047
Order charge fee.
Definition: types.hpp:2021
Decimal amount
Charge amount.
Definition: types.hpp:2027
std::string currency
Charge currency.
Definition: types.hpp:2029
std::string code
Charge code.
Definition: types.hpp:2023
std::string name
Charge name.
Definition: types.hpp:2025
Order charge item.
Definition: types.hpp:2034
std::string name
Charge category name.
Definition: types.hpp:2038
std::vector< OrderChargeFee > fees
Charge details.
Definition: types.hpp:2040
ChargeCategoryCode code
Charge category code.
Definition: types.hpp:2036
Order detail.
Definition: types.hpp:2056
int64_t submitted_at
Submitted time.
Definition: types.hpp:2072
std::optional< std::string > free_currency
Commission-free currency.
Definition: types.hpp:2120
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:2102
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:2106
Decimal quantity
Submitted quantity.
Definition: types.hpp:2064
std::optional< std::string > deductions_currency
Deduction currency.
Definition: types.hpp:2126
std::string currency
Currency.
Definition: types.hpp:2104
OrderStatus status
Order status.
Definition: types.hpp:2060
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:2110
OrderSide side
Order side.
Definition: types.hpp:2074
std::optional< Decimal > last_done
Last done.
Definition: types.hpp:2080
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:2112
std::string msg
Rejected Message or remark.
Definition: types.hpp:2084
std::optional< int64_t > updated_at
Last updated time.
Definition: types.hpp:2092
std::optional< Decimal > platform_deducted_amount
Platform deduction amount.
Definition: types.hpp:2130
CommissionFreeStatus free_status
Commission-free Status.
Definition: types.hpp:2116
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:2108
std::string remark
Remark.
Definition: types.hpp:2114
OrderTag tag
Order tag.
Definition: types.hpp:2086
std::string order_id
Order ID.
Definition: types.hpp:2058
std::optional< Date > expire_date
Long term order expire date.
Definition: types.hpp:2090
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:2094
std::optional< Decimal > free_amount
Commission-free amount.
Definition: types.hpp:2118
DeductionStatus deductions_status
Deduction status.
Definition: types.hpp:2122
std::string symbol
Security code.
Definition: types.hpp:2076
OrderChargeDetail charge_detail
Order charges.
Definition: types.hpp:2136
std::optional< Decimal > trigger_price
LIT / MIT Order Trigger Price
Definition: types.hpp:2082
std::string stock_name
Stock name.
Definition: types.hpp:2062
OrderType order_type
Order type.
Definition: types.hpp:2078
DeductionStatus platform_deducted_status
Platform fee deduction status.
Definition: types.hpp:2128
std::optional< Decimal > limit_offset
TSLPAMT / TSLPPCT order limit offset amount
Definition: types.hpp:2100
std::optional< Decimal > deductions_amount
Deduction amount.
Definition: types.hpp:2124
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:2088
std::optional< Decimal > trailing_percent
TSMPCT / TSLPPCT order trailing percent
Definition: types.hpp:2098
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:2066
std::optional< Decimal > price
Submitted price.
Definition: types.hpp:2068
std::vector< OrderHistoryDetail > history
Order history details.
Definition: types.hpp:2134
std::optional< std::string > platform_deducted_currency
Platform deduction currency.
Definition: types.hpp:2132
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:2070
std::optional< Decimal > trailing_amount
TSMAMT / TSLPAMT order trailing amount
Definition: types.hpp:2096
Order history detail.
Definition: types.hpp:2004
Decimal quantity
Definition: types.hpp:2010
Decimal price
Definition: types.hpp:2007
std::string msg
Execution or error message.
Definition: types.hpp:2014
OrderStatus status
Order status.
Definition: types.hpp:2012
int64_t time
Occurrence time.
Definition: types.hpp:2016
Order.
Definition: types.hpp:1543
Decimal quantity
Submitted quantity.
Definition: types.hpp:1551
int64_t submitted_at
Submitted time.
Definition: types.hpp:1559
std::optional< Decimal > trailing_amount
TSMAMT / TSLPAMT order trailing amount
Definition: types.hpp:1583
OrderTag tag
Order tag.
Definition: types.hpp:1573
std::optional< Decimal > trigger_price
LIT / MIT Order Trigger Price
Definition: types.hpp:1569
OrderStatus status
Order status.
Definition: types.hpp:1547
std::string currency
Currency.
Definition: types.hpp:1591
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:1575
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:1599
std::string stock_name
Stock name.
Definition: types.hpp:1549
std::optional< Date > expire_date
Long term order expire date.
Definition: types.hpp:1577
OrderSide side
Order side.
Definition: types.hpp:1561
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:1557
std::string symbol
Security code.
Definition: types.hpp:1563
std::optional< Decimal > price
Submitted price.
Definition: types.hpp:1555
std::optional< Decimal > trailing_percent
TSMPCT / TSLPPCT order trailing percent
Definition: types.hpp:1585
std::string msg
Rejected Message or remark.
Definition: types.hpp:1571
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:1589
std::optional< Decimal > last_done
Last done.
Definition: types.hpp:1567
std::string order_id
Order ID.
Definition: types.hpp:1545
std::optional< int64_t > updated_at
Last updated time.
Definition: types.hpp:1579
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:1593
OrderType order_type
Order type.
Definition: types.hpp:1565
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:1595
std::string remark
Remark.
Definition: types.hpp:1601
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:1553
std::optional< Decimal > limit_offset
TSLPAMT / TSLPPCT order limit offset amount
Definition: types.hpp:1587
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:1581
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:1597
Order changed message.
Definition: types.hpp:1606
std::string order_id
Order ID.
Definition: types.hpp:1624
Decimal submitted_quantity
Submitted quantity.
Definition: types.hpp:1612
int64_t submitted_at
Submitted time.
Definition: types.hpp:1630
std::optional< Decimal > trailing_percent
Trailing percent.
Definition: types.hpp:1646
std::optional< Decimal > trailing_amount
Trailing amount.
Definition: types.hpp:1644
std::string currency
Currency.
Definition: types.hpp:1626
std::optional< Decimal > executed_price
Executed price.
Definition: types.hpp:1622
std::string stock_name
Stock name.
Definition: types.hpp:1610
std::optional< Decimal > trigger_price
Order trigger price.
Definition: types.hpp:1634
OrderType order_type
Order type.
Definition: types.hpp:1616
std::optional< Decimal > last_price
Last price.
Definition: types.hpp:1654
std::optional< TriggerStatus > trigger_status
Conditional order trigger status.
Definition: types.hpp:1640
Decimal executed_quantity
Executed quantity.
Definition: types.hpp:1620
std::string msg
Rejected message or remark.
Definition: types.hpp:1636
int64_t updated_at
Last updated time.
Definition: types.hpp:1632
OrderSide side
Order side.
Definition: types.hpp:1608
std::optional< Decimal > limit_offset
Limit offset amount.
Definition: types.hpp:1648
OrderStatus status
Order status.
Definition: types.hpp:1628
std::string remark
Remark message.
Definition: types.hpp:1656
Decimal submitted_price
Submitted price.
Definition: types.hpp:1618
OrderTag tag
Order tag.
Definition: types.hpp:1638
std::optional< int64_t > trigger_at
Conditional order trigger time.
Definition: types.hpp:1642
std::string symbol
Order symbol.
Definition: types.hpp:1614
std::optional< Decimal > last_share
Last share.
Definition: types.hpp:1652
std::string account_no
Account no.
Definition: types.hpp:1650
Options for replace order request.
Definition: types.hpp:1693
std::string order_id
Order ID.
Definition: types.hpp:1695
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:1709
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:1713
std::optional< Decimal > price
Price.
Definition: types.hpp:1699
std::optional< Decimal > trigger_price
Trigger price.
Definition: types.hpp:1701
Decimal quantity
Quantity.
Definition: types.hpp:1697
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:1711
std::optional< Decimal > trailing_percent
Trailing percent.
Definition: types.hpp:1707
std::optional< Decimal > trailing_amount
Trailing amount.
Definition: types.hpp:1705
std::optional< Decimal > limit_offset
Limit offset.
Definition: types.hpp:1703
std::optional< std::string > remark
Remark.
Definition: types.hpp:1715
Stock position channel.
Definition: types.hpp:1949
std::string account_channel
Account type.
Definition: types.hpp:1951
std::vector< StockPosition > positions
Stock positions.
Definition: types.hpp:1953
Stock position.
Definition: types.hpp:1927
std::optional< Decimal > init_quantity
Initial position before market opening.
Definition: types.hpp:1944
Decimal quantity
The number of holdings.
Definition: types.hpp:1933
std::string symbol
Stock code.
Definition: types.hpp:1929
std::string symbol_name
Stock name.
Definition: types.hpp:1931
Decimal available_quantity
Available quantity.
Definition: types.hpp:1935
Decimal cost_price
Definition: types.hpp:1940
Market market
Market.
Definition: types.hpp:1942
std::string currency
Currency.
Definition: types.hpp:1937
Stock positions response.
Definition: types.hpp:1958
std::vector< StockPositionChannel > channels
Channels.
Definition: types.hpp:1960
Options for submit order request.
Definition: types.hpp:1720
std::optional< Decimal > trailing_percent
Trailing percent (TSLPPCT / TSMAPCT Required)
Definition: types.hpp:1740
std::optional< int32_t > limit_depth_level
Limit depth level.
Definition: types.hpp:1747
std::optional< int32_t > trigger_count
Trigger count.
Definition: types.hpp:1749
OrderType order_type
Order type.
Definition: types.hpp:1724
TimeInForceType time_in_force
Time in force type.
Definition: types.hpp:1730
std::optional< std::string > remark
Remark (Maximum 64 characters)
Definition: types.hpp:1753
OrderSide side
Order side.
Definition: types.hpp:1726
std::optional< Decimal > limit_offset
Limit offset amount (TSLPAMT / TSLPPCT Required)
Definition: types.hpp:1736
std::optional< Decimal > submitted_price
Submitted price.
Definition: types.hpp:1732
std::optional< Decimal > trailing_amount
Trailing amount (TSLPAMT / TSMAMT Required)
Definition: types.hpp:1738
std::string symbol
Security symbol.
Definition: types.hpp:1722
std::optional< Decimal > monitor_price
Monitor price.
Definition: types.hpp:1751
std::optional< Decimal > trigger_price
Trigger price (LIT / MIT Required)
Definition: types.hpp:1734
std::optional< OutsideRTH > outside_rth
Enable or disable outside regular trading hours.
Definition: types.hpp:1745
std::optional< Date > expire_date
Definition: types.hpp:1743
Decimal submitted_quantity
Submitted price.
Definition: types.hpp:1728
Response for submit order request.
Definition: types.hpp:1758
std::string order_id
Order id.
Definition: types.hpp:1760