Intelligence, Advanced Charting & Trading Platform
test(paper): correct percent return assertion for 1% move
davoodmehraban89 committed
Oct 14, 2026 at 22:39 UTC
430cc10277e067bc92b73415befa479a7f86fc2e
1 file changed
+1
-1
packages/market-domain/test/paper-position.test.mjs
+1
-1
@@ -95,7 +95,7 @@ test('summary reports signed percentage return and audit event count',()=>{
95
let p=open({takeProfitPercent:20});
96
p=step(p,99,1);
97
const s=paperRiskSummary(p);
98
- assert.equal(s.netPnLPct,-10);
98
+ assert.equal(s.netPnLPct,-1);
99
assert.equal(s.eventCount,2);
100
assert.equal(s.status,'OPEN');
101
});