Show initial and current roll position size plus rolling status on active roll groups table.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,6 +30,8 @@ def test_compute_roll_chain_metrics_short():
|
||||
assert per_leg[10]["avg_entry_after"] is not None
|
||||
assert per_leg[11]["avg_entry_after"] is not None
|
||||
assert group_metrics["reward_at_tp_usdt"] is not None
|
||||
assert group_metrics["initial_qty"] == 3.0
|
||||
assert group_metrics["current_qty"] == 8.0
|
||||
assert per_leg[11]["reward_at_tp_usdt"] >= per_leg[10]["reward_at_tp_usdt"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user