发明者量化 Rust:OpenMarket BTC 15 分钟逻辑回归预测策略
2
Follow
510
Followers
Source
Rust
use std::collections::{HashMap, HashSet, VecDeque};
// ========================= 参数 =========================
const SIMULATE_TRADING: bool = true;
const ENABLE_TRADING: bool = true;
// V3先积累分阶段样本;旧版仅用第600秒样本的校准不得参与实时交易。
const ONLINE_CALIBRATION: bool = false;
const CLEAR_DATABASE_ON_START: bool = false;
const POLL_MS: i64 = 50;
const MARKET_REFRESH_MS: i64 = 15_000;
const PROBABILITY_RECALC_MS: i64 = 200;Related strategies
Comment
All comments (0)
No data
- 1