Pips vs. poins Logic calculation fault

When developing strategies :

1- Pips calculation is correct for Forex type markets but not for others markets
2- Points calculations allow calculating a more solid approach to time series that can change considerable 
Example a stock can change in a day from 20.05 to 30.05  a change of 10 points  witch in pips would be 1000 considering one pip  equivalent in these instance to 0.01 


In the case of crypto with 4 decimals  example from 4.0001 to 5.0001  a pip world be calculating  on the base of 0.0001 so the total change is 10 points and equivalent  in these case to 100000 pips
if the crypto is  base on 6 decimals (Binance ) from 4.000001 to 5.000001 the total change in points remain the same 10 points in pips would be a total change of 10.000.000 ( 10 million pips) these values cannot be place in the SQX pips calculation since they are too large.


3 - the solution would be to have pips and points calculation is a separate box depending on what is been calculated  OR to allow Pips value impute to be modified to allow such large numbers that in reality is the equivalent of the move, The other alternative is conversion from  pips to points automatic depending on what SQX is been applied to the type of time series (market)


I include some pic;s and an example of a  crypto strategy , notice that the entering and exit of all trades is within a few pennies at the most but not much even during the calculation I entered large minimum and max pips allow for calculations,

Attachments
Test crypto strategy 1.sqx
(230.48 KiB)
Ceypto 3.png
(1.01 MiB)
Cripto 5.png
(716.89 KiB)
Crypto 1.png
(1.08 MiB)
Crypto 4.png
(663.98 KiB)
Crypto 2.png
(736.19 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

EC
#1

ecsatroy1

14.05.2021 16:31

Task created

h
#2

hankeys

15.05.2021 13:54
pips and ticks are calculated from the piptick step and size values


for example on some futures markets could be 1 tick move move by 0.25, etc.

TT
#3

Tamas

08.09.2022 15:11

Status changed from New to Fixed


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please