Enter a lock to prevent simultaneous updates.
Namespace:
T4.APIAssembly: T4API.20 (in T4API.20.dll)
Syntax
| C# |
|---|
public void EnterLock( string psTag ) |
| Visual Basic (Declaration) |
|---|
Public Sub EnterLock ( _ psTag As String _ ) |
| Visual C++ |
|---|
public: void EnterLock( String^ psTag ) |
Parameters
- psTag
- Type: System..::.String
Remarks
Locks the ExchangeList preventing any updates from the server to it, it's Exchangec, Contracts and ContractMonths until the lock is released. Does not prevent updates to the Markets.
Every EnterLock MUST have a corresponding ExitLock.