MarketData Class

Class that holds all the market data information.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public class MarketData : IDisposable
Inheritance
Object    MarketData
Implements
IDisposable

Remarks

This class provides access to individual markets and to the exchange/contract hierarchy that contains those markets.

Properties

Exchanges Returns a list of all the exchanges that this user is allowed access to.
Host Reference to the api Host object.

Methods

ContractPicker(Contract) Displays a dialog allowing the user to select a contract.
ContractPicker(Contract, ListContractType, ListStrategyType, String) Displays a dialog allowing the user to select a contract.
CreateUDS Creates and returns an object for creating new strategy markets at the exchange.
Dispose Dispose
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetContract Get the specified contract if we have permission to see it.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMarket(String) Get the market from the specified id.
GetMarket(String, OnMarketListComplete) Get the market from the specified id. Requesting it from the server if needed.
GetMarket(String, Boolean, OnMarketListComplete) Get the market from the specified id. Requesting it from the server if needed.
GetMarket(String, OnMarketListComplete, Object) Get the market from the specified id. Requesting it from the server if needed.
GetMarket(String, Boolean, OnMarketListComplete, Object) Get the market from the specified id. Requesting it from the server if needed.
GetMarketByRef Try and find a market with the specified market ref. This will only succeed if the market is currently loaded in the API. This does not make a request to the server.
GetMarkets(String, String, OnMarketListComplete) Allows the request of specific markets.
GetMarkets(String, String, Boolean, OnMarketListComplete) Allows the request of specific markets.
GetMarkets(String, String, Int32, OnMarketListComplete) Allows the request of specific markets.
GetMarkets(String, String, OnMarketListComplete, Object) Allows the request of specific markets.
GetMarkets(String, String, Boolean, OnMarketListComplete, Object) Allows the request of specific markets.
GetMarkets(String, String, Int32, OnMarketListComplete, Object) Allows the request of specific markets.
GetMarkets(String, String, Int32, StrategyType, OnMarketListComplete) Allows the request of specific markets.
GetMarkets(String, String, Int32, StrategyType, Boolean, OnMarketListComplete) Allows the request of specific markets.
GetMarkets(String, String, Int32, StrategyType, OnMarketListComplete, Object) Allows the request of specific markets.
GetMarkets(String, String, Int32, StrategyType, Boolean, OnMarketListComplete, Object) Allows the request of specific markets.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MarketPicker(Market) Displays a dialog allowing the user to select a market.
MarketPicker(ListContractType, ListStrategyType, Market) Displays a dialog allowing the user to select a market.
MarketPicker(ListContractType, ListStrategyType, Market, String) Displays a dialog allowing the user to select a market.
MarketPickerHistorical Displays a dialog allowing the user to select a market.
MarketPickerMulti(ListMarket, Market) Displays a dialog allowing the user to select one or more markets.
MarketPickerMulti(ListMarket, Market, ListContractType, ListStrategyType, String) Displays a dialog allowing the user to select one or more markets.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RequestChartDataBatch Request batch chart data.
RequestMarketTradeVolumeData Request historical chart data for all markets in the contract (including expired ones.)
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValidateChartDataCache Validates the data in the chart cache.

Events

ContractDetails Event raised when a contract is updated.
MarketRFQ Event raised when an RFQ message is received.

See Also