-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trade safety computation #247
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can someone please explain what this piece of code from
safety.ts
does? I understand that its purpose is to balance buys and sells. However I don't understand the algorithm. I tested it with the example trades fromtrds
quoting parameter description in the wiki and got different results -Buy TS: 1.75, Sell TS: 0.75
instead ofBuy TS: 2.75, Sell TS: 0
:https://jsfiddle.net/victoro/bo9k7gqz/
The text was updated successfully, but these errors were encountered: