Replace Decimal with FtPrecise in trade_model
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user