For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Testing signal backtest with add_signal function

  • Hello,

    Where can I see all options,arguments available in function "" and "cerebro.add_signal" ?
    It seems that I miss an option.

    I am trying to run a simple signal using (bt.Signal) class.
    My feed is in 1 minute bar but orders generated by the signal are executed once a day at market open.

    As my signal is correctly moving around 0 in min bar, why does it not send order on 1min bar basis ?




  • My bad...
    Everything is working as expected.
    My pandas dataframe was not correctly indexed.
    Thank you

Log in to reply