Table of Contents

Class CumulativeTrade

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a cumulative trade, which is a trade that includes multiple prints or executions.

public class CumulativeTrade
Inheritance
object
CumulativeTrade
Extension Methods

Constructors

CumulativeTrade()

public CumulativeTrade()

Properties

Direction

Gets or sets the trade direction (Buy or Sell).

public TradeDirection Direction { get; set; }

Property Value

TradeDirection

FirstPrice

Gets or sets the first price of the trade.

public decimal FirstPrice { get; set; }

Property Value

decimal

Lastprice

Gets or sets the last price of the trade.

public decimal Lastprice { get; set; }

Property Value

decimal

NewAsk

Gets or sets the best ask after the trade.

public MarketDataArg NewAsk { get; set; }

Property Value

MarketDataArg

NewBid

Gets or sets the best bid after the trade.

public MarketDataArg NewBid { get; set; }

Property Value

MarketDataArg

PreviousAsk

Gets or sets the best ask before the trade.

public MarketDataArg PreviousAsk { get; set; }

Property Value

MarketDataArg

PreviousBid

Gets or sets the best bid before the trade.

public MarketDataArg PreviousBid { get; set; }

Property Value

MarketDataArg

Ticks

Gets or sets the list of individual ticks (MarketDataArg) included in the cumulative trade.

public List<MarketDataArg> Ticks { get; set; }

Property Value

List<MarketDataArg>

Time

Gets or sets the time of the trade.

public DateTime Time { get; set; }

Property Value

DateTime

Volume

Gets or sets the cumulative volume of the trade.

public decimal Volume { get; set; }

Property Value

decimal

Methods

ToString()

Returns a string representation of the CumulativeTrade object.

public override string ToString()

Returns

string

A string containing the trade information.