Navigation

    Backtrader Community

    • Register
    • 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/

    Trade on lower timeframe?

    General Code/Help
    2
    3
    117
    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.
    • Hugo Norberg
      Hugo Norberg last edited by

      Hi!

      I am planning to make a trading bot with renko chart and I'm looking if there is a way when running cerebro to make it "iterate" faster than 1minute.

      So for example if it update the price every 15 or 30 seconds to faster capture a price movement if that were to create a new brick in the chart which could initialize a trade.

      Is this possible to do?

      1 Reply Last reply Reply Quote 0
      • D
        dasch last edited by

        you can work on a tick timeframe in backtrader. you just need the data to be delivered in that timeframe. so if you want to work on 15 seconds, your data needs to be in that granularity.

        1 Reply Last reply Reply Quote 1
        • Hugo Norberg
          Hugo Norberg last edited by

          Oh alright. I am using Dave Vallance bt-ccxt-store, it must be there the problem lies I know bitmex only delivers ohlc candles of 1m through their api. I was wondering if you could loop to get the live price faster/the last candle but then I know thats where to look for that solution.

          Thank you, for the response!

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