![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
An order still open to modification or cancellation. More...
#include <algotradelib/src/core/types.hpp>
Public Attributes | |
| OrderSnapshot | order_ |
| The order's state. | |
| OrderRef< Broker > | ref_ |
| The reference to amend or cancel the order with. | |
| std::optional< Decimal64 > | amendable_quantity_ |
| How much the broker says may still be amended. Empty means it stated none, not zero. | |
| bool | reserved_ {false} |
| Whether this row is a runner's record of an order it just sent, rather than a row the broker listed. | |
An order still open to modification or cancellation.
| Broker | The broker tag. |
| std::optional<Decimal64> algotradelib::WorkingOrder< Broker >::amendable_quantity_ |
How much the broker says may still be amended. Empty means it stated none, not zero.
Definition at line 2296 of file types.hpp.
Referenced by algotradelib::cancel_all(), and algotradelib::replace_with().
| OrderSnapshot algotradelib::WorkingOrder< Broker >::order_ |
The order's state.
Definition at line 2292 of file types.hpp.
Referenced by algotradelib::runner::JournalingExecutor< Inner, Journal, Clock >::cancel(), algotradelib::cancel_all(), algotradelib::cancel_quantity(), algotradelib::replace_with(), algotradelib::resting_shape(), and algotradelib::runner::Runner< Strategy, CapsType, Tag, Executor >::withdrawal_accepted_for().
| OrderRef<Broker> algotradelib::WorkingOrder< Broker >::ref_ |
The reference to amend or cancel the order with.
Definition at line 2294 of file types.hpp.
Referenced by algotradelib::backtest::QueueingExecutor< Tag >::cancel(), algotradelib::live::SessionExecutor< Session >::cancel(), algotradelib::runner::JournalingExecutor< Inner, Journal, Clock >::cancel(), algotradelib::runner::RecordingExecutor< BrokerTag >::cancel(), and algotradelib::runner::Runner< Strategy, CapsType, Tag, Executor >::withdrawal_accepted_for().
| bool algotradelib::WorkingOrder< Broker >::reserved_ {false} |