mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 04:58:08 +00:00
v0.8.6: update indicator docs, ndepend tooling, ALMA refactor, gitignore cleanup
This commit is contained in:
+4
-3
@@ -9,11 +9,12 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
- `IFeed` defines the standard contract for all data feeds in QuanTAlib, ensuring consistent behavior across different data sources (synthetic, file-...
|
||||
- `IFeed` defines the standard contract for all data feeds in QuanTAlib, ensuring consistent behavior across different data sources (synthetic, file-based, or live API).
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
- Requires 1 bar of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
- Feeds are the entry point of any indicator chain — all indicators subscribe to a feed or to another indicator's output.
|
||||
- Common feed implementations include synthetic (GBM), file-based (CSV), and live API sources (Alpha Vantage).
|
||||
- For backtesting, pair feeds with any trend, momentum, or volatility indicator to simulate streaming bar-by-bar processing.
|
||||
|
||||
`IFeed` defines the standard contract for all data feeds in QuanTAlib, ensuring consistent behavior across different data sources (synthetic, file-based, or live API).
|
||||
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
- `CsvFeed` is a file-based feed implementation that loads historical OHLCV data from CSV files.
|
||||
- Parameterized by `filepath`.
|
||||
- Output range: Varies (see docs).
|
||||
- Requires 1 bar of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
`CsvFeed` is a file-based feed implementation that loads historical OHLCV data from CSV files. It supports both streaming access (simulating real-time playback) and batch retrieval.
|
||||
@@ -84,4 +81,4 @@ while (true)
|
||||
|
||||
```csharp
|
||||
long startTime = new DateTime(2024, 1, 1).Ticks;
|
||||
var batch = feed.Fetch(10, startTime, TimeSpan.FromDays(1));
|
||||
var batch = feed.Fetch(10, startTime, TimeSpan.FromDays(1));
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
- `GBM` (Geometric Brownian Motion) is a synthetic data generator that simulates realistic financial price movements.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
- Requires 1 bar of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
`GBM` (Geometric Brownian Motion) is a synthetic data generator that simulates realistic financial price movements. It is useful for testing indicators, strategies, and system performance without relying on external data files.
|
||||
@@ -83,4 +81,4 @@ long startTime = DateTime.UtcNow.Ticks;
|
||||
var interval = TimeSpan.FromMinutes(1);
|
||||
|
||||
// Generate 1000 bars
|
||||
var history = gbm.Fetch(1000, startTime, interval);
|
||||
var history = gbm.Fetch(1000, startTime, interval);
|
||||
Reference in New Issue
Block a user