FinancialDataLoaderFactory

Helpers & Utilities · AiDotNet.Finance.Data

Factory helpers for creating financial data loaders.

For Beginners

Use these helpers when you have OHLCV price data and want a ready-to-use FinancialDataLoader for training or evaluation.

How It Works

This factory keeps common loader configurations in one place so callers can create forecasting loaders without repeating boilerplate setup.

Methods

Method Summary
FinancialDataLoader<T> FromProvider(MarketDataProvider<T> provider, int sequenceLength, int predictionHorizon, bool includeVolume, bool includeReturns, bool predictReturns, bool normalizeMinMax, FinancialPreprocessor<T> preprocessor, int batchSize) Creates a financial data loader from a market data provider.
FinancialDataLoader<T> FromSeries(IReadOnlyList<MarketDataPoint<T>> series, int sequenceLength, int predictionHorizon, bool includeVolume, bool includeReturns, bool predictReturns, bool normalizeMinMax, FinancialPreprocessor<T> preprocessor, int batchSize) Creates a financial data loader from a list of market data points.