Trait EnhancedCsvExportExt

Source
pub trait EnhancedCsvExportExt {
    // Required methods
    fn export_to_csv(&self, file_path: &str) -> Result<()>;
    fn export_to_csv_extended(
        &self,
        file_path: &str,
        include_funding: bool,
        include_trading: bool,
        include_total: bool,
    ) -> Result<()>;
}
Expand description

Extended CSV export trait for HyperliquidBacktest

Required Methods§

Source

fn export_to_csv(&self, file_path: &str) -> Result<()>

Export backtest results with funding data to CSV

Source

fn export_to_csv_extended( &self, file_path: &str, include_funding: bool, include_trading: bool, include_total: bool, ) -> Result<()>

Export backtest results with extended data to CSV

Implementors§