| 123456789101112131415161718 |
- mod export_excel_test;
- use tracing::{instrument, trace};
- use derive::export_excel::ExportEnum;
- use crate::export_excel_test::test_new_export;
- const SYMBOL: &str = "LOOM_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::KucoinSwap).await;
- let export_trades = export.export_trades("kucoin_swap",SYMBOL.to_string(), 0, 0, 100).await;
- trace!(?export_trades);
- }
|