Max Order Rejections reached...

jd861983jd861983 Posts: 5
edited January 2018 in Support
Traceback (most recent call last):
  File "run_simulation.py", line 550, in <module>
    main(sys.argv[1:])
  File "run_simulation.py", line 525, in main
    results = simulator()
  File "/var/jenkins_home/miniconda/conda-bld/tradesim_1513116742079/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/tradesim/engine.py", line 545, in __call__
  File "/var/jenkins_home/miniconda/conda-bld/tradesim_1513116742079/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/tradesim/engine.py", line 712, in simulate
  File "/var/jenkins_home/miniconda/conda-bld/tradesim_1513116742079/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/tradesim/context.py", line 1080, in fast_simulation_process_event
  File "/var/jenkins_home/miniconda/conda-bld/tradesim_1513116742079/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/tradesim/context.py", line 501, in on_reject
tradesim.util.PolicyLimitError: Maximum number of rejected orders (1000) reached

Strategy crashes with that traceback, but the Rejected Orders tab is empty, so how do you debug these?

[Edit]

Sometimes, it seems like the previous days, which actually had the rejections do show a list, but not always. In this case, I was able to find them that way.

Sign In or Register to comment.