QuoteClient Constructor (UInt32, String, String, Int32, DateTime, DateTime)
|
Initialize quote client to give history of closed orders.
Namespace:
TradingAPI.MT4Server
Assembly:
MT4ServerAPI (in MT4ServerAPI.dll) Version: 4.0.1170.31 (4.0.1170.31)
Syntaxpublic QuoteClient(
uint user,
string password,
string host,
int port,
DateTime closedOrdersFrom,
DateTime closedOrdersTo
)
Public Sub New (
user As UInteger,
password As String,
host As String,
port As Integer,
closedOrdersFrom As DateTime,
closedOrdersTo As DateTime
)
public:
QuoteClient(
unsigned int user,
String^ password,
String^ host,
int port,
DateTime closedOrdersFrom,
DateTime closedOrdersTo
)
new :
user : uint32 *
password : string *
host : string *
port : int *
closedOrdersFrom : DateTime *
closedOrdersTo : DateTime -> QuoteClient
Parameters
- user
- Type: SystemUInt32
Account number. - password
- Type: SystemString
Password. - host
- Type: SystemString
IP address or domain name. - port
- Type: SystemInt32
Port. Usually 443. - closedOrdersFrom
- Type: SystemDateTime
Start time. - closedOrdersTo
- Type: SystemDateTime
End time.
See Also