BBSTRADER 2.4.0
Loading...
Searching...
No Matches
MT5::MetaTraderClient::Handlers Struct Reference

Container for all function callbacks required by the client. More...

#include <metatrader.hpp>

Public Attributes

InitializeAuto init_auto
 Auto-initialization handler.
 
InitializeWithPath init_path
 Path-based initialization handler.
 
InitializeFull init_full
 Full-parameter initialization handler.
 
Login login
 Account login handler.
 
Shutdown shutdown
 Shutdown handler.
 
GetVersion get_version
 Version retrieval handler.
 
GetLastError get_last_error
 Error retrieval handler.
 
GetTerminalInfo get_terminal_info
 Terminal info handler.
 
GetAccountInfo get_account_info
 Account info handler.
 
GetTotalSymbols get_total_symbols
 Symbol count handler.
 
GetSymbolsAll get_symbols_all
 Get all symbols handler.
 
GetSymbolInfo get_symbol_info
 Get symbol details handler.
 
SelectSymbol select_symbol
 Symbol selection handler.
 
GetSymbolsByGroup get_symbols_by_group
 Get symbols by group handler.
 
SubscribeBook subscribe_book
 Subscribe to DOM handler.
 
UnsubscribeBook unsubscribe_book
 Unsubscribe from DOM handler.
 
GetBookInfo get_book_info
 Get DOM info handler.
 
GetRatesByDate get_rates_by_date
 Get rates by date handler.
 
GetRatesByPos get_rates_by_pos
 Get rates by position handler.
 
GetRatesByRange get_rates_by_range
 Get rates by range handler.
 
GetTicksByDate get_ticks_by_date
 Get ticks by date handler.
 
GetTicksByRange get_ticks_by_range
 Get ticks by range handler.
 
GetTickInfo get_tick_info
 Get current tick info handler.
 
GetOrdersAll get_orders_all
 Get all active orders handler.
 
GetOrdersBySymbol get_orders_by_symbol
 Get orders by symbol handler.
 
GetOrdersByGroup get_orders_by_group
 Get orders by group handler.
 
GetOrderByTicket get_order_by_ticket
 Get order by ticket handler.
 
GetTotalOrders get_total_orders
 Get total active orders handler.
 
GetPositionsAll get_positions_all
 Get all positions handler.
 
GetPositionsBySymbol get_positions_symbol
 Get positions by symbol handler.
 
GetPositionsByGroup get_positions_group
 Get positions by group handler.
 
GetPositionByTicket get_position_ticket
 Get position by ticket handler.
 
GetTotalPositions get_total_positions
 Get total positions handler.
 
CheckOrder check_order
 Order check handler.
 
SendOrder send_order
 Order send handler.
 
CalculateMargin calc_margin
 Margin calculation handler.
 
CalculateProfit calc_profit
 Profit calculation handler.
 
GetHistoryOrdersByRange get_hist_orders_range
 Get history orders by range handler.
 
GetHistoryOrdersByGroup get_hist_orders_group
 Get history orders by group handler.
 
GetHistoryOrderByTicket get_hist_order_ticket
 Get history order by ticket handler.
 
GetHistoryOrdersByPosId get_hist_orders_pos
 Get history orders by position ID handler.
 
GetHistoryOrdersTotal get_hist_orders_total
 Get history orders count handler.
 
GetHistoryDealsByRange get_hist_deals_range
 Get history deals by range handler.
 
GetHistoryDealsByGroup get_hist_deals_group
 Get history deals by group handler.
 
GetHistoryDealsByTicket get_hist_deals_ticket
 Get history deal by ticket handler.
 
GetHistoryDealsByPosId get_hist_deals_pos
 Get history deals by position ID handler.
 
GetHistoryDealsTotal get_hist_deals_total
 Get history deals count handler.
 

Detailed Description

Container for all function callbacks required by the client.


The documentation for this struct was generated from the following file: