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/

    Help with oandatest.py on samples

    General Code/Help
    5
    42
    14531
    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.
    • L
      LAbrk @Samy David last edited by

      @samy-david
      I would not know what to tell you.
      I used the Oanda feed as an example and modified it for my data source.

      But looking a bit on Oanda web, I saw that from the table of errors, the code 1 is:

      "The argument specified is not properly formatted or is an unaccepted value"

      I guess the accountId is wrong.

      This is the reference page. Anything that can be of help let me know
      http://developer.oanda.com/rest-live/troubleshooting-errors/

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators @Samy David last edited by

        @samy-david said in Help with oandatest.py on samples:

        i have the same NOTSUBSCRIBED issue with the feed.
        trying to execute a simple strategy

        The problem is obviously not with the strategy.

        @labrk said in Help with oandatest.py on samples:

        I guess the accountId is wrong.

        This is one possible cause, being another the formatting of the ticker you want to trade.

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