Files
foxhunt/crates/data/examples/databento_demo.rs
jgrusewski 9c3d741a08 refactor: restructure repo — crates/, bin/, testing/ layout
Move 17 library crates into crates/, CLI binary into bin/fxt,
consolidate 10 test crates into testing/, split config crate
from deployment config files.

Root directory reduced from 38+ to ~17 directories.
All Cargo.toml paths and build.rs proto refs updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:56:00 +01:00

44 lines
1.3 KiB
Rust

//! COMMENTED OUT - Example temporarily disabled
//! This example needs to be updated for the new Databento provider API
//!
//! # Databento Provider Demo
//!
//! This example demonstrates how to use the DatabentoProvider for high-performance
//! market data ingestion in the Foxhunt HFT system.
//!
//! ## Usage
//!
//! ```bash
//! # Set your Databento API key
//! export DATABENTO_API_KEY="your_api_key_here"
//!
//! # Run the demo
//! cargo run --example databento_demo --features databento
//! ```
//!
//! NOTE: This example is temporarily disabled pending updates to match the new
//! Databento provider architecture. See crates/data/src/providers/databento/mod.rs
//! for the current API.
#![allow(unused_crate_dependencies)]
/* EXAMPLE TEMPORARILY DISABLED - requires API updates
use anyhow::Result;
use data::providers::databento::{DatabentoConfig, DatabentoStreamingProvider};
use std::time::Duration;
use tokio::time;
use tracing::{error, info, warn};
#[tokio::main]
async fn main() -> Result<()> {
// Placeholder implementation - see mod.rs for actual API
println!("Databento demo temporarily disabled - API migration in progress");
Ok(())
}
*/
// Placeholder main to satisfy Rust's requirement for examples
fn main() {
println!("This example is temporarily disabled. See databento_demo.rs for details.");
}