diff --git a/src/db/cauldron/ohlcv.rs b/src/db/cauldron/ohlcv.rs index 92656ca..65cda79 100644 --- a/src/db/cauldron/ohlcv.rs +++ b/src/db/cauldron/ohlcv.rs @@ -12,7 +12,8 @@ use sqlx::{Row, SqlitePool}; /// `INSERT OR IGNORE`, so existing rows are never corrected in place. /// /// 2: price switched from the signed net ratio to the gross volume ratio. -pub const OHLCV_VERSION: u32 = 2; +/// 3: pricing switched from per-transaction to per-leg with policy-based acceptance. +pub const OHLCV_VERSION: u32 = 3; const OHLCV_VERSION_KEY: &str = "ohlcv_version"; pub async fn create_table(pool: &SqlitePool) {