|
Longbridge OpenAPI C++ SDK
|
Financial calendar context — earnings, dividends, splits, IPOs, macro data. More...
#include <calendar_context.hpp>
Public Member Functions | |
| CalendarContext () | |
| CalendarContext (const lb_calendar_context_t *ctx) | |
| CalendarContext (const CalendarContext &) | |
| CalendarContext (CalendarContext &&) | |
| ~CalendarContext () | |
| CalendarContext & | operator= (const CalendarContext &) |
| void | finance_calendar (CalendarCategory category, const std::string &start, const std::string &end, const std::string &market, AsyncCallback< CalendarContext, CalendarEventsResponse > callback) const |
| Get financial calendar events for the given date range. More... | |
Static Public Member Functions | |
| static CalendarContext | create (const Config &config) |
| Create a CalendarContext from a Config. More... | |
Financial calendar context — earnings, dividends, splits, IPOs, macro data.
| longbridge::calendar::CalendarContext::CalendarContext | ( | ) |
| longbridge::calendar::CalendarContext::CalendarContext | ( | const lb_calendar_context_t * | ctx | ) |
| longbridge::calendar::CalendarContext::CalendarContext | ( | const CalendarContext & | ) |
| longbridge::calendar::CalendarContext::CalendarContext | ( | CalendarContext && | ) |
| longbridge::calendar::CalendarContext::~CalendarContext | ( | ) |
|
static |
Create a CalendarContext from a Config.
| void longbridge::calendar::CalendarContext::finance_calendar | ( | CalendarCategory | category, |
| const std::string & | start, | ||
| const std::string & | end, | ||
| const std::string & | market, | ||
| AsyncCallback< CalendarContext, CalendarEventsResponse > | callback | ||
| ) | const |
Get financial calendar events for the given date range.
| CalendarContext& longbridge::calendar::CalendarContext::operator= | ( | const CalendarContext & | ) |