Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Backtrader only as a signal generator.

    General Code/Help
    live live trading live data backtrader
    2
    3
    512
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • George Muravei
      George Muravei last edited by

      Hi! I need help with some approach of using backtrader. I'm using it to test strategies using bt indicators and now I'm trying to get live BUT: I'm going to trade crypto on Binance and use freqtrade for it (to not implement logic of buying/selling by myself). The main question: is it possible to use it in that way returning signal from bt instance? Just something like this:

      buy_signal = backtrader_instance.next(OHLV_data[0])
      # buy_signal False or True or Whatewer
      
      

      Really cant find anything in docs :(

      1 Reply Last reply Reply Quote 0
      • hghhgghdf dfdf
        hghhgghdf dfdf last edited by

        from what it sounds like, this project would better fit your needs:

        https://github.com/mementum/bta-lib

        George Muravei 1 Reply Last reply Reply Quote 0
        • George Muravei
          George Muravei @hghhgghdf dfdf last edited by

          @hghhgghdf-dfdf Tanks for reply. I checked this out and from I saw it is not suited my requirements (or I missed something). But in that context I need to use backtrader.indicators (a.e. backtrader.indicators.LaguerreRSI) outside backtrader as usual indicators. Is it possible?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors