BBSTRADER 2.4.0
Loading...
Searching...
No Matches
Order and Deal History Callbacks

Functional interfaces for retrieving historical trade data (Closed Orders and Deals). More...

Typedefs

using MT5::GetHistoryOrdersByRange = std::function< OrdersData(int64_t, int64_t)>
 Callback to retrieve historical orders within a specific time range.
 
using MT5::GetHistoryOrdersByGroup = std::function< OrdersData(int64_t, int64_t, str &)>
 Callback to retrieve historical orders within a specific time range and filter.
 
using MT5::GetHistoryOrderByTicket = std::function< std::optional< TradeOrder >(uint64_t)>
 Callback to retrieve a specific historical order by its ticket ID.
 
using MT5::GetHistoryOrdersByPosId = std::function< OrdersData(uint64_t)>
 Callback to retrieve all historical orders associated with a specific Position ID.
 
using MT5::GetHistoryOrdersTotal = std::function< std::optional< int32_t >(int64_t, int64_t)>
 Callback to retrieve the total count of historical orders within a time range.
 
using MT5::GetHistoryDealsByRange = std::function< DealsData(int64_t, int64_t)>
 Callback to retrieve historical deals (executions) within a time range.
 
using MT5::GetHistoryDealsByGroup = std::function< DealsData(int64_t, int64_t, str &)>
 Callback to retrieve historical deals (executions) within a time range buy asset.
 
using MT5::GetHistoryDealsByTicket = std::function< DealsData(uint64_t)>
 Callback to retrieve historical deals associated with a specific Order Ticket.
 
using MT5::GetHistoryDealsByPosId = std::function< DealsData(uint64_t)>
 Callback to retrieve historical deals associated with a specific Position ID.
 
using MT5::GetHistoryDealsTotal = std::function< std::optional< int32_t >(int64_t, int64_t)>
 Callback to retrieve the total count of historical deals within a time range.
 

Detailed Description

Functional interfaces for retrieving historical trade data (Closed Orders and Deals).