Distribute negative-risk conversion fees across cash and outcome shares

This commit is contained in:
2026-12-03 13:05:09 +08:00
parent 351de6187e
commit 0f608db47f
10 changed files with 196 additions and 17 deletions
+2 -1
View File
@@ -119,8 +119,9 @@ pub(crate) fn apply(
event,
markets,
augmented,
conversion_fee,
} => {
let result = crate::neg_risk::define(tx, &group, &event, &markets)?;
let result = crate::neg_risk::define(tx, &group, &event, &markets, conversion_fee)?;
if let Some(config) = augmented {
config.save(tx, &group, &markets)?;
}