Replace Decimal with FtPrecise in trade_model

This commit is contained in:
Matthias
2022-08-10 20:31:03 +02:00
parent b427c7ff13
commit 0e61c2d057
2 changed files with 15 additions and 13 deletions

View File

@@ -78,3 +78,5 @@ def test_FtPrecise():
assert FtPrecise(-213) == '-213'
assert str(FtPrecise(-213)) == '-213'
assert FtPrecise(213.2) == '213.2'
assert float(FtPrecise(213.2)) == 213.2
assert float(FtPrecise(-213.2)) == -213.2