Is square missing in price_to_tick function? #73
Replies: 1 comment
-
No need to take the square root in this case since the function takes a price, not the square root of a price. The formula is: It's derived from: If you cancel out the square root on the both sides you'll get the formula from the implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the tick calculations the formula i = log√1.0001(p(i)) but in the implementation of price_to_tick, square root is not present. Is it missing or I miss something?
Beta Was this translation helpful? Give feedback.
All reactions