1
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 25, 2017, 12:34:43 PM »
Security Margin Issue
The security margin is calculated by the price to buy, not the last buy price..
Now, [security margin] = [price to buy] * (1 - [security margin %])
it should be, [security margin] = [last buy price] * (1 - [security margin %])
In this screenshot
security margin % = 60%
security margin = 0.00004144
price to buy = 0.00010363 => 4144/10363 = 0.400
last buy price = 0.00010700 => 4144/10700 = 0.387 = wrong
The security margin is calculated by the price to buy, not the last buy price..
Now, [security margin] = [price to buy] * (1 - [security margin %])
it should be, [security margin] = [last buy price] * (1 - [security margin %])
In this screenshot
security margin % = 60%
security margin = 0.00004144
price to buy = 0.00010363 => 4144/10363 = 0.400
last buy price = 0.00010700 => 4144/10700 = 0.387 = wrong