Click or drag to resize

MT5APIRequestOrderHistory(DateTime, DateTime) Method

Reuest closed orders.

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public void RequestOrderHistory(
	DateTime from,
	DateTime to
)

Parameters

from  DateTime
Start time of history.
to  DateTime
End time of history.

Return Value

Array of orders int OnOrderHistory event.
See Also