repair missed-bet ledger: same winner=False bug hit the hypothetical settles
All 7 missed entries were insta-settled as losses under the pre-fix semantics. Chain-verified reality: 4 won, 2 lost, 1 still unresolved (reopened). Missed P&L -249.17 -> -18.36. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+17
-17
@@ -1197,9 +1197,9 @@
|
||||
"price": 0.51,
|
||||
"stake": 37.97,
|
||||
"reason": "price moved 0.70\u21920.51",
|
||||
"status": "lost",
|
||||
"pnl": -38.53,
|
||||
"settled": 1783016524,
|
||||
"status": "won",
|
||||
"pnl": 35.92,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1212,9 +1212,9 @@
|
||||
"price": 0.99,
|
||||
"stake": 36.45,
|
||||
"reason": "price moved 0.88\u21920.99",
|
||||
"status": "lost",
|
||||
"pnl": -36.46,
|
||||
"settled": 1783037706,
|
||||
"status": "won",
|
||||
"pnl": 0.36,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1227,9 +1227,9 @@
|
||||
"price": 0.71,
|
||||
"stake": 36.45,
|
||||
"reason": "price moved 0.91\u21920.71",
|
||||
"status": "lost",
|
||||
"pnl": -36.77,
|
||||
"settled": 1783037896,
|
||||
"status": "won",
|
||||
"pnl": 14.57,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1244,7 +1244,7 @@
|
||||
"reason": "price moved 0.67\u21920.47",
|
||||
"status": "lost",
|
||||
"pnl": -37.04,
|
||||
"settled": 1783039269,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1257,9 +1257,9 @@
|
||||
"price": 0.98,
|
||||
"stake": 34.16,
|
||||
"reason": "price moved 0.85\u21920.98",
|
||||
"status": "lost",
|
||||
"pnl": -34.18,
|
||||
"settled": 1783040090,
|
||||
"status": "won",
|
||||
"pnl": 0.68,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1274,7 +1274,7 @@
|
||||
"reason": "price moved 0.80\u21920.94",
|
||||
"status": "lost",
|
||||
"pnl": -32.85,
|
||||
"settled": 1783040701,
|
||||
"settled": 1783049259,
|
||||
"name": "LSB1"
|
||||
},
|
||||
{
|
||||
@@ -1287,9 +1287,9 @@
|
||||
"price": 0.44,
|
||||
"stake": 32.79,
|
||||
"reason": "price moved 0.50\u21920.44",
|
||||
"status": "lost",
|
||||
"pnl": -33.34,
|
||||
"settled": 1783048270,
|
||||
"status": "open",
|
||||
"pnl": null,
|
||||
"settled": null,
|
||||
"name": "shisan888"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user