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

Testing signal backtest with add_signal function



  • Hello,

    Where can I see all options,arguments available in function "cerebro.run" 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 ?

    0_1535732654033_add_signal.png

    Regards

    Chris



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