shokollm 29ec67cced fix: handle floating point precision in take_profit check and final_balance calculation
Two bugs fixed:
1. final_balance was incorrectly calculated as balance + balance when position=0 due to expression structure
2. take_profit check needed epsilon for floating point precision (95 * 1.10 = 104.50000000000001 instead of 104.5)
2026-04-11 15:02:53 +00:00
Description
Research and documentation repository
1.6 MiB
Languages
Python 63%
Svelte 30.2%
TypeScript 6.2%
Shell 0.3%
JavaScript 0.2%