4.6 服务器信息接口 .........................................................................................................................................................16
4.6.1 MT4API_GetServerTime ...........................................................................................................................................16
4.6.2 MT4API_GetServerBuild ...........................................................................................................................................16
4.6.3 MT4API_GetSeverInfoCount ...................................................................................................................................16
4.6.4 MT4API_GetSeverInfos .............................................................................................................................................16
4.7 证券信息接口 ..............................................................................................................................................................17
4.7.1 MT4API_GetSymbolInfo ...........................................................................................................................................17
4.7.2 MT4API_GetSymbolsCount ....................................................................................................................................17
4.7.3 MT4API_GetSymbolsInfo .........................................................................................................................................17
4.7.4 MT4API_GetSymbolGroups ....................................................................................................................................18
4.8 证券订阅接口 ..............................................................................................................................................................18
4.8.1 MT4API_IsSubscribe ..................................................................................................................................................18
4.8.2 MT4API_Subscribe .....................................................................................................................................................18
4.8.3 MT4API_UnSubscribe ................................................................................................................................................19
4.9 行情接口 .......................................................................................................................................................................19
4.9.1 MT4API_DownloadQuoteHistory ..........................................................................................................................19
4.9.2 MT4API_SetQuoteHistoryEventHandler ..............................................................................................................19
4.9.3 MT4API_GetQuote .....................................................................................................................................................20
4.9.4 MT4API_SetQuoteEventHandler ...........................................................................................................................20
4.10 订单信息接口 ..............................................................................................................................................................20
4.10.1 MT4API_GetCloseOrder ...........................................................................................................................................20
4.10.2 MT4API_GetCloseOrdersCount .............................................................................................................................21
4.10.3 MT4API_GetCloseOrders .........................................................................................................................................21
4.10.4 MT4API_GetOpenOrder ...........................................................................................................................................21
4.10.5 MT4API_GetOpenOrdersCount .............................................................................................................................22
4.10.6 MT4API_GetOpenOrders .........................................................................................................................................22
4.10.7 MT4API_GetTradeHistoryCount ............................................................................................................................22
4.10.8 MT4API_DownloadTradeHistory ...........................................................................................................................23
4.11 交易接口 .......................................................................................................................................................................23
4.11.1 MT4API_IsTradeAllowed ..........................................................................................................................................23
4.11.2 MT4API_SetOrderNotifyEventHandler ................................................................................................................23
4.11.3 MT4API_SetOrderUpdateEventHandler ..............................................................................................................24
4.11.4 MT4API_OrderSend ...................................................................................................................................................24
4.11.5 MT4API_OrderSendAsync .......................................................................................................................................24
4.11.6 MT4API_OrderClose ..................................................................................................................................................25
4.11.7 MT4API_OrderCloseAsync ......................................................................................................................................25
4.11.8 MT4API_OrderCloseBy .............................................................................................................................................26