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

Visualisation and Analysis Possible Without Backtesting?



  • Hi,

    I have some (historical) trade data available together with the historical data of the instrument that was used for trading.

    Is it possible to feed this data into backtrader to just visualize the trades, the P/L curve of the strategy and get data like sharpe ratio etc. back from backtrader?

    Thanks in advance!



  • Last time I was working on such task, I've developed an indicator which read all trades (execution prices, trade sizes, trade directions) data, and was issuing orders with the appropriate sizes and execution prices using this indicator as a signal generator. Went this more complex way since I wanted to test how additional stops affect the strategy.

    If you want just test the set of trades, than I think easier to use signal strategy Docs - Strategy with Signals


Log in to reply
 

});