Preserve both Gamma outcome ID families and identify position operations
This commit is contained in:
@@ -79,7 +79,7 @@ mod tests {
|
||||
fn stable_distinct_book_differentiates_the_two_price_conventions() {
|
||||
let gamma: Value =
|
||||
serde_json::from_str(include_str!("../fixtures/gamma-559651.json")).unwrap();
|
||||
let tokens = books::poly_assets(&gamma).unwrap();
|
||||
let tokens = crate::catalog::Market::parse(&gamma).unwrap().assets;
|
||||
assert_ne!(tokens[0], gamma["positionIds"][0].as_str().unwrap());
|
||||
let level = |p: &Value| json!({"price":p.to_string(),"size":"1"});
|
||||
// Synthetic CLOB responses at the two prices observed on Gamma.
|
||||
|
||||
Reference in New Issue
Block a user