Assembly: T4API.20 (in T4API.20.dll)
public class Host :
|Visual Basic (Declaration)|
Public Class Host _ Implements
public ref class Host :
The Host is the center of the API. Nothing works without a Host object being created and logging in successfully to the server.
As soon as the Host object is created it will attempt to connect to the servers and login. It will remain connected to the servers until the Dispose method is called. If it is disconnected from the server due to a network problem then it will automatically keep trying to reconnect until disposed of.
Market information can be obtained using the MarketData property which also allows access to the exchange and contract hierarchy.
Account information, including positions, existing orders and submitting new orders can be obtained via the Accounts property.