MarketDataPoint<T>

Models & Types · AiDotNet.Finance.Data

Represents a single market data point (OHLCV).

For Beginners

Think of this as one row in a stock chart: it tells you the price when the period opened, the highest and lowest prices, the closing price, and how much volume traded during that period.

How It Works

This class stores one time-stamped bar of market data, including open, high, low, close, and volume values. It is the basic unit of financial time series used by data loaders and trading environments.

Constructors

Constructor Summary
MarketDataPoint(DateTime timestamp, T open, T high, T low, T close, T volume) Creates a new market data point.

Properties

Property Summary
DateTime Timestamp { get; } Gets the timestamp for the market data point.
T Close { get; } Gets the close price.
T High { get; } Gets the high price.
T Low { get; } Gets the low price.
T Open { get; } Gets the open price.
T Volume { get; } Gets the traded volume.