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

Bokeh Integration - Interactive Webbrowser Plotting



  • it was turned off by @backtrader at certain point and never turned on back.



  • Ok thanks. I wanted to add and update information in the first post as lots of it is outdated.



  • Hey VBS,

    Awesome work with backtrader_plotting. I was wondering if there was a parameter to change the color for barup and bardown when style = 'bar'.

    Also, is there a way to make a green vertical line for an executed buy and a red vertical line for an executed sell?

    Thank!



  • @Adham-Suliman you can change the parameters of scheme
    like

    scheme=Tradimo(
        #bar color
        barup_wick="#db4930",
        barup_outline="#db4930",
        barup="#db4930",
        volup="#db4930",
    
        bardown_wick='#2cab40',
        bardown_outline='#2cab40',
        bardown='#2cab40',
        voldown='#2cab40',
    )
    
    b = Bokeh(scheme=scheme)
    cerebro.plot(plotter=b,iplot=False)
    


  • @vbs thanks for the great work!
    share some idears may better visualization
    something like
    ![alt text](a11c1fbc-5bdb-4268-9dda-ed8acfbf98f7-image.png image url)

    • crosshairs all subplot(from here:link text)

    • trade_message
      click trade block to show trade messaage
      ![alt text](bec1f930-d804-47b4-968a-bcda80bcd550-image.png image url)


Log in to reply
 

});