MarketTradeHistory Class

Class representing the trade history data.

Definition

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

Remarks

This class stores the recent history of different prices traded in this market. Up to the last 100 prices to trade are stored in the order that they traded. It also stores the volume traded at that price and the last time that the price traded.

This does not store individual trades, only individual prices that trade. e.g. 1 lot trades at a price of 1001 - new history item created for 1001 1 lot trades at a price of 1002 - new history item created for 1002 1 lot trades at a price of 1002 - volume for history item for 1002 updated 1 lot trades at a price of 1001 - new history item created for 1001 (different to the early item for the same price).

This information allows a simple chart to be created showing the recent movement of the market.

The data for the current trading day will be provided by the server following subscription to the market. Updates to this data are made as trade information is received via depth updates. This means that on some buffer levels trade prices may be missed.

Properties

Count Returns the number of items in the list.
Item Returns the history item at the list index specified.
ItemPrice Returns the price of the item at the list index specified.

Methods

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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also