Autotrading keeps failing: preloadbars not working?

Forums ProRealTime English forum ProOrder support Autotrading keeps failing: preloadbars not working?

Viewing 10 posts - 1 through 10 (of 10 total)
  • #217487

    Hi,

    I get this error:

    The trading system was stopped because the historical data loaded was insufficient to calculate at least one indicator during the evaluation of the last candlestick. You can avoid this in the future by changing the number of preloaded bars with the instruction DEFPARAM (ex: DEFPARAM Preloadbars = 10000).

    However, I have added preload bars… doesn’t seem to change anything, even if I go to 100,000 bars preloaded (which it cannot need).  Any obvious pointers greatly received.

    Thanks

    Rufus

    #217488

    Have a read of this Topic

    https://www.prorealcode.com/topic/long-time-to-run-system-code-causes-rejection/#post-216815

    1 user thanked author for this post.
    #217489

    Thanks.  I don’t think my code is particularly complicated (probably just inefficient!) and there are sub 200 lines of it.   Three different time frames could be why?  Seems like the only answer for now is to keep submitting?

    #217491

    Does your code get Rejected at the end of the 1st bar when the code first executes?  Put another way … your code does not successfully execute and is always Rejected?

    If Yes to above then submit a Technical Report  via Help > Help Center > I’m having a Technical Problem.

    1 user thanked author for this post.
    #217492

    Spot on.  End of first bar.  I will submit a report. Thank you.

    #217528

    Good morning GraHal,

    I’ve had no response via the submit contact form (couldn’t see the specific route you mentioned).. the problem still exists.  Have you had any resolution?

    #217529

    It has to be a Technical Report submitted via  via Help > Help Center > I’m having a Technical Problem.

    See the top / main toolbar on the PRT Platform?  Far right Help (far left is File) … then follow above.

    I had an acknowledgement and Case Ref on 28 Jun, but no resolution from PRT yet.

    This is why it is good if you / more of us submit a Technical Report for the same symptoms as then PRT may finally realise there is a probem (not just me!) that needs sorting.

    1 user thanked author for this post.
    #217531

    Done, thanks for the guidance.  Now the secret sauce is no longer secret! 🙂

    1 user thanked author for this post.
    #217541
    #217544

    helsin did you submit a Technical Report  via Help > Help Center > I’m having a Technical Problem?

    The more of us who send in a Technical Report the more likely they are to do something about the problem.

     

Viewing 10 posts - 1 through 10 (of 10 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login