Error in file MarketPositionSize.java

The declaration "int size = 0;" in "OnBlockEvaluate" is an error!

It should be

"double size = 0;"

instead (otherwise the "int" there permanently leads to miscalculation)
Attachments
No attachments
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority High

History

k
#1

kleva

03.02.2019 18:00

Task created

Dw
#2

Diwi

03.02.2019 18:38
Voted for this task.
Dw
#3

Diwi

03.02.2019 18:40

I have the same problem: Builder do not start,

Error message: Java init = 0, point

Dw
#4

Diwi

03.02.2019 18:40

I have the same problem: Builder do not start,

Error message: Java init = 0, point

k
#5

kleva

03.02.2019 20:44

Hi Divi,


but your problem should be another one?!?


The error described by me is related only to the source-file "MarketPositionSize.java" and it's not connected to any variable with "point", but connected to Lot Size, what definitely is a double-value  (and all calculation as an integer are leading to an error there) ... .



g
#6

geektrader

03.02.2019 22:32
Voted for this task.
k
#7

kleva

07.03.2019 16:02
WONDERING (!): Why was such small task not repaired yet in Build 119?!? So unfortunately the bug keeps the chance to spread further and further ... !
MF
#8

Mark Fric

10.04.2019 07:30

Priority changed from Normal to High

TB
#9

Tomas Brynda

10.04.2019 07:39

Status changed from New to Fixed

Hi Kleva,

thank you for reporting this issue, I have fixed it and it will be working properly in the upcoming release.


Diwi, please create a new task for your issue with more details if you haven't done it yet.


Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please