Distribute negative-risk conversion fees across cash and outcome shares
This commit is contained in:
@@ -99,7 +99,7 @@ impl Exchange {
|
||||
db.execute_batch(include_str!("kickoff_schema.sql"))?;
|
||||
}
|
||||
let activity_ready: bool = db.query_row(
|
||||
"SELECT EXISTS(SELECT 1 FROM sqlite_schema WHERE type='table' AND name='wallet_migration')",
|
||||
"SELECT EXISTS(SELECT 1 FROM sqlite_schema WHERE type='trigger' AND name='record_wallet_receipt')",
|
||||
[], |r| r.get(0),
|
||||
)?;
|
||||
if !activity_ready {
|
||||
@@ -245,6 +245,7 @@ impl Exchange {
|
||||
"fills",
|
||||
"paired_fills",
|
||||
"neg_risk_groups",
|
||||
"neg_risk_conversion_fees",
|
||||
"neg_risk_reserve_remainders",
|
||||
"augmented_results",
|
||||
] {
|
||||
|
||||
Reference in New Issue
Block a user