CsvTickFeed

class CsvTickFeed(path: Path) : TickFeed

Streams ticks from a CSV file at path. Transparently handles .gz compression.

Header is auto-detected (timestamp / symbol / price columns). Throws on malformed rows or non-monotonic timestamps — bad data should fail loud, not silently corrupt the backtest.

Constructors

Link copied to clipboard
constructor(path: Path)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

Releases underlying resources. Default no-op; live feeds override.

Link copied to clipboard
open override fun next(): Tick?

Returns the next tick, or null if the feed is exhausted.