Convert NO positions and conserve collateral across fixed negative-risk groups
This commit is contained in:
@@ -12,6 +12,7 @@ mod cancellation;
|
||||
mod command;
|
||||
mod ledger;
|
||||
mod market;
|
||||
mod neg_risk;
|
||||
mod portfolio;
|
||||
mod resident;
|
||||
mod resolution;
|
||||
@@ -73,6 +74,7 @@ impl Exchange {
|
||||
"orders",
|
||||
"fills",
|
||||
"paired_fills",
|
||||
"neg_risk_groups",
|
||||
] {
|
||||
let mut stmt = tx.prepare(&format!("SELECT * FROM {table} ORDER BY rowid"))?;
|
||||
let names: Vec<String> =
|
||||
|
||||
Reference in New Issue
Block a user