Market data context.
Definition: market_context.hpp:35
MarketContext(const lb_market_context_t *ctx)
void trade_stats(const std::string &symbol, AsyncCallback< MarketContext, TradeStatsResponse > callback) const
Get trade statistics.
void ah_premium_intraday(const std::string &symbol, AsyncCallback< MarketContext, AhPremiumIntraday > callback) const
Get A/H premium intraday.
void constituent(const std::string &symbol, AsyncCallback< MarketContext, IndexConstituents > callback) const
Get index constituents.
void broker_holding(const std::string &symbol, BrokerHoldingPeriod period, AsyncCallback< MarketContext, BrokerHoldingTop > callback) const
Get top broker holdings.
void broker_holding_detail(const std::string &symbol, AsyncCallback< MarketContext, BrokerHoldingDetail > callback) const
Get full broker holding details.
static MarketContext create(const Config &config)
MarketContext & operator=(const MarketContext &ctx)
MarketContext(MarketContext &&ctx)
MarketContext(const MarketContext &ctx)
void anomaly(const std::string &market, AsyncCallback< MarketContext, AnomalyResponse > callback) const
Get market anomalies.
void market_status(AsyncCallback< MarketContext, MarketStatusResponse > callback) const
Get market trading status.
void ah_premium(const std::string &symbol, AhPremiumPeriod period, uint32_t count, AsyncCallback< MarketContext, AhPremiumKlines > callback) const
Get A/H premium K-lines.
void broker_holding_daily(const std::string &symbol, const std::string &broker_id, AsyncCallback< MarketContext, BrokerHoldingDailyHistory > callback) const
Get daily broker holding history.
struct lb_market_context_t lb_market_context_t
Definition: market_context.hpp:8