![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
The filter for an order-history inquiry. More...
#include <algotradelib/src/core/types.hpp>
Public Attributes | |
| std::optional< Date > | from_ |
| The first date to include; required where BrokerCaps::history_requires_range. | |
| std::optional< Date > | to_ |
| The last date to include. | |
| std::optional< std::string > | symbol_ |
| Only this symbol, where the broker supports the filter. | |
| std::optional< std::string > | cursor_ |
| A previous page's next_cursor_, passed back unchanged. | |
| std::optional< int > | limit_ |
| The most rows to return, where the broker supports a limit. | |
The filter for an order-history inquiry.
A filter the broker cannot apply is refused with ErrorCategory::INVALID_ARGUMENT before any I/O, never silently dropped.
| std::optional<std::string> algotradelib::OrderHistoryQuery::cursor_ |
A previous page's next_cursor_, passed back unchanged.
Definition at line 2625 of file types.hpp.
Referenced by algotradelib::alpaca::AlpacaBlockingClient::order_history(), and algotradelib::live::SessionSource< Session, Journal, MarketData >::read_order_list().
| std::optional<Date> algotradelib::OrderHistoryQuery::from_ |
The first date to include; required where BrokerCaps::history_requires_range.
Definition at line 2619 of file types.hpp.
Referenced by algotradelib::alpaca::AlpacaBlockingClient::order_history(), algotradelib::mock::Market::order_history(), and algotradelib::BrokerTraits< alpaca::AlpacaBlockingClient >::to_history_query().
| std::optional<int> algotradelib::OrderHistoryQuery::limit_ |
The most rows to return, where the broker supports a limit.
Definition at line 2627 of file types.hpp.
Referenced by algotradelib::alpaca::AlpacaBlockingClient::order_history(), algotradelib::live::SessionSource< Session, Journal, MarketData >::read_order_list(), algotradelib::BrokerTraits< alpaca::AlpacaBlockingClient >::to_history_query(), and algotradelib::BrokerTraits< mock::MockClient >::to_history_query().
| std::optional<std::string> algotradelib::OrderHistoryQuery::symbol_ |
Only this symbol, where the broker supports the filter.
Definition at line 2623 of file types.hpp.
Referenced by algotradelib::alpaca::AlpacaBlockingClient::order_history(), and algotradelib::BrokerTraits< mock::MockClient >::to_history_query().
| std::optional<Date> algotradelib::OrderHistoryQuery::to_ |
The last date to include.
Definition at line 2621 of file types.hpp.
Referenced by algotradelib::alpaca::AlpacaBlockingClient::order_history(), algotradelib::mock::Market::order_history(), and algotradelib::BrokerTraits< alpaca::AlpacaBlockingClient >::to_history_query().