| Modifier and Type | Method and Description |
|---|---|
Strategy.Terminal |
addTickListener(String symbol,
Strategy.TickListener tickListener) |
void |
close()
Used to kill mt4 terminal process (makes this Terminal unusable)
|
Strategy.Terminal |
connect() |
String |
getId()
Returns terminal identifier composed of type and (optionally) ordinal number.
|
MT4 |
getMt4Connection()
MT4 connection associated with this terminal.
|
Strategy.TerminalType |
getType()
Terminal's type: FREE, ORDERS or TICK WORKER.
|
public Strategy.Terminal addTickListener(String symbol, Strategy.TickListener tickListener)
public Strategy.Terminal connect() throws IOException
IOExceptionpublic void close()
throws IOException
IOException - in case of Terminal Server errors.public Strategy.TerminalType getType()
public MT4 getMt4Connection()
public String getId()