Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #8 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 666 677 +11
Branches 127 145 +18
=========================================
+ Hits 666 677 +11 ☔ View full report in Codecov by Sentry. |
|
@frodoe7 Thank you for reporting this. I checked the code you mentioned, and based on my tests, I couldn't reproduce the automatic rounding issue. Could you provide more test cases or specific scenarios where the issue occurs? This will help me investigate and fix the issue more accurately. |
|
I'll close the PR, because there's no reproduce example |
The backtesting have a bug when I send the prices like 0.988, 1.024
for example ADA/USDT, it round automatically to "1"
The issue happens in broker.ts
slPrice & tpPrice are around 0.988 or 1.024
however after this if condition, it logs 1 <> 1