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/

    Historic Data - Source

    General Code/Help
    2
    2
    516
    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.
    • H
      Hein Esterhuyse last edited by

      Hi,

      I am new to backtrader and firstly want to know if this is possible.
      Basically what I want to do is run a strategy and use different settings each time to see what works best in back tests. (Forex Data)
      Normally in Metatrader you would have to run a backtest, chance settings and run it manually again.

      With back trader I surely think it is possible to run this in a loop to test what settings works best. (An example would even be better)

      Now, where should I get historic data from?
      Would Tickstory data be sufficient? (https://tickstory.com)

      Or is there another way to get this information?

      Thanks in advance for any advice

      B 1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators @Hein Esterhuyse last edited by backtrader

        @hein-esterhuyse said in Historic Data - Source:

        With back trader I surely think it is possible to run this in a loop to test what settings works best. (An example would even be better)

        You seem to be looking for optimization:

        • Blog - Multicore Optimization

        • Blog Optimization Improvements

        @hein-esterhuyse said in Historic Data - Source:

        Now, where should I get historic data from?
        Would Tickstory data be sufficient? (https://tickstory.com)

        The data has to meet your needs. Any reliable data source will do. You will probably get a csv file which you can load with GenericCSVData

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