![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
What has filled on one order, and what it cost. More...
#include <algotradelib/src/core/types.hpp>
Public Attributes | |
| Decimal64 | filled_quantity_ |
| The quantity filled so far; zero if nothing has filled. Always present. | |
| std::optional< Decimal64 > | average_filled_price_ |
| The average fill price, only where the broker supplies it. | |
| std::optional< Money > | filled_amount_ |
| The value of the fills, as the broker computed it. | |
| std::optional< Money > | commission_ |
| Commission charged so far, if the broker reports it per order. | |
| std::optional< Money > | tax_ |
| Transaction tax charged so far, if the broker reports it per order. | |
| std::optional< std::chrono::system_clock::time_point > | filled_at_ |
| When the most recent fill happened, if the broker timestamps it. | |
| std::optional< Date > | settlement_date_ |
| The settlement date the broker stated. | |
What has filled on one order, and what it cost.
At Toss, an amount sent as null is empty, but a missing field fails the listing as a protocol error.
| std::optional<Decimal64> algotradelib::OrderExecution::average_filled_price_ |
| std::optional<Money> algotradelib::OrderExecution::commission_ |
| std::optional<Money> algotradelib::OrderExecution::filled_amount_ |
| std::optional<std::chrono::system_clock::time_point> algotradelib::OrderExecution::filled_at_ |
| Decimal64 algotradelib::OrderExecution::filled_quantity_ |
The quantity filled so far; zero if nothing has filled. Always present.
Definition at line 2274 of file types.hpp.
Referenced by algotradelib::mock::Market::place().
| std::optional<Date> algotradelib::OrderExecution::settlement_date_ |
| std::optional<Money> algotradelib::OrderExecution::tax_ |