#include <fastmm/core/order.hpp>
◆ limit()
|
|
inlinestaticconstexprnoexcept |
A GTC limit order, refined with the builder's methods: ctx.send(NewOrderRequest::limit(id, Side::Buy, px, qty).post_only().tag(7));.
◆ instrument
◆ venue
| VenueId fastmm::NewOrderRequest::venue |
◆ account
| VenueId fastmm::NewOrderRequest::account |
The account to send it from where the instrument's venue has a pool (core/account_pool.hpp): the primary or one of its members, else the order is refused (RejectReason::InvalidAccount).
Invalid (the default): the engine picks the member by balance and remaining order window.
◆ side
| Side fastmm::NewOrderRequest::side |
◆ type
◆ tif
◆ post_only
| bool fastmm::NewOrderRequest::post_only = false |
◆ reduce_only
| bool fastmm::NewOrderRequest::reduce_only = false |
◆ price
| Price fastmm::NewOrderRequest::price |
◆ qty
| Qty fastmm::NewOrderRequest::qty |
◆ user_tag
| std::uint32_t fastmm::NewOrderRequest::user_tag = 0 |