Class InstrumentLookup
Inheritance
InstrumentLookup
Assembly: tt-net-api.dll
Syntax
public class InstrumentLookup : UserEventHandler, IDisposable
Constructors
InstrumentLookup(Dispatcher)
Used to lookup/create a user defined strategy in conjunction with CreateStrategy()
Declaration
public InstrumentLookup(Dispatcher dispatcher)
Parameters
InstrumentLookup(Dispatcher, InstrumentKey)
Lookup an instrument by alias using an InstrumentKey
Declaration
public InstrumentLookup(Dispatcher dispatcher, InstrumentKey instrumentKey)
Parameters
InstrumentLookup(Dispatcher, MarketId, ProductType, string, string)
Lookup an instrument by product and alias
Declaration
public InstrumentLookup(Dispatcher dispatcher, MarketId marketId, ProductType productType, string productName, string alias)
Parameters
InstrumentLookup(Dispatcher, ProductKey, string)
Lookup an instrument by product and name (not alias)
Declaration
public InstrumentLookup(Dispatcher dispatcher, ProductKey key, string name)
Parameters
Properties
Alias
Declaration
public string Alias { get; }
Property Value
ContractName
Declaration
public string ContractName { get; }
Property Value
Instrument
Declaration
public Instrument Instrument { get; }
Property Value
MarketId
Declaration
public MarketId MarketId { get; }
Property Value
ProductName
Declaration
public string ProductName { get; }
Property Value
ProductType
Declaration
public ProductType ProductType { get; }
Property Value
Methods
CreateStrategy(List<StrategyLegDefinition>, Account, MarketId)
Declaration
public void CreateStrategy(List<StrategyLegDefinition> legs, Account account, MarketId marketId)
Parameters
Dispose()
Declaration
public virtual void Dispose()
Get()
Declaration
public ProductDataEvent Get()
Returns
GetAsync()
Declaration
Events
OnData
Declaration
public event EventHandler<InstrumentLookupEventArgs> OnData
Event Type
Implements