[Build 126] Configurable reserved bars to preload

SQ currently loads 1000 bars before the start of tests, so that there is enough data for indicators to be computed.



This is still a problem, if you for example use M15 as main period, and D1 as a second chart.
1000 bars are reserved for main chart (M15) and it is only around 10 days for D1 chart. So if the strategy uses indicator on D1 with period bigger than 10, it will be not computed correctly.


We should make the number of reserved bars it configurable and also dependent on maximum periods configured in builder/in strategy.

Attachments
No attachments
  • Votes +5
  • Project StrategyQuant X
  • Type Feature
  • Status Fixed
  • Priority Normal

History

MF
#1

Mark Fric

19.09.2018 07:53

Task created

IH
#2

clonex / Ivan Hudec

19.09.2018 08:57
Voted for this task.
y
#3

yusung

19.09.2018 16:11
Voted for this task.
m
#4

mikeyc

19.09.2018 18:41
Voted for this task.
b
#5

bentra

16.11.2018 11:10
Voted for this task.
y
#6

yusung

17.12.2018 15:57
When will this task be completed? I think this is very important for developing the M15 strategy.Thanks~~
y
#7

yusung

17.12.2018 15:57
When will this task be completed? I think this is very important for developing the M15 strategy.Thanks~~
HH
#8

Hans

27.03.2019 01:38
Voted for this task.
MF
#9

Mark Fric

27.01.2020 10:17

Status changed from New to Fixed

configuration of Reserved bars is there for Tradestation / Multicharts engine, we don't plan to add it for MT4/5 for now.




Votes: +5

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please