mod export_excel_test; use tracing::{instrument, trace}; use derive::export_excel::ExportEnum; use crate::export_excel_test::test_new_export; const SYMBOL: &str = "TIA_USDT"; // 测试获取Exchange实体 #[tokio::test] #[instrument(level = "TRACE")] async fn test_get_self_exchange() { global::log_utils::init_log_with_trace(); let mut export = test_new_export(ExportEnum::GateSwap).await; let export_trades = export.export_trades("gate_swap_42", SYMBOL.to_string(), 0, 0, 1000).await; trace!(?export_trades); }