For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Trading Statistics
-
Is there any proper statistics about backtesting results? Of course I have seen all the classes provided under backtrader.analyzers such as TradeAnalyzer() etc. Does any body know a class/function to print results of the TradeAnalyzer() in a pretty format or do I have to do the formatting of the ordered dict by myself?
-
Have a look in my repo here at line 204. This saves the analyzer to a database and formats it into a spreadsheet. You also need the previous function to take apart the dictionary. (unnest_trade_analysis)
Not exactly what you are looking for but perhaps will give you enough to get you going.