Skip to main content

spawn_databento_live_feed_task

Function spawn_databento_live_feed_task 

Source
pub fn spawn_databento_live_feed_task(
    oracle: Arc<DatabentoVolOracle>,
    api_key: String,
    dataset: String,
)
Expand description

Spawns a detached tokio task that connects to Databento, drives the oracle’s run loop, and automatically reconnects with exponential backoff when the feed drops or fails to connect.