Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. xiaoy0521
    3. Posts
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Groups 0

    Posts made by xiaoy0521

    • RE: Oandatest no attribute 'contractdetails'

      @cortex hello,

      I'm learn to use backtrader ,and I'm trying to use the Oandatest.py with some problem. errormsg is the same with you.

      I want to know how to run oandatest.py succeed, I have oanda account and token. and pip install oandapy.

      but I can't run it succeed. please give me a hand. thanks very much.

      posted in General Discussion
      xiaoy0521
      xiaoy0521
    • RE: How to run Oandatest demo?

      @backtrader

      sorry, This is my first question, My picture might be a little bit more intuitive, I used pycharm to run oandatest.py, I don't use a broker compatible with it. just one project of backtrader( https://github.com/backtrader/backtrader), then ,run some demo to learn.
      My answer was wrong, I pip install oandav20, and it's also don't work.
      The error info is consistent with the images posted.

      posted in General Discussion
      xiaoy0521
      xiaoy0521
    • RE: How to run Oandatest demo?

      sorry, This is my first question, My picture might be a little bit more intuitive, I used pycharm to run oandatest.py, I don't use a broker compatible with it. just one project of backtrader( https://github.com/backtrader/backtrader), then ,run some demo to learn.
      I go to see it(https://github.com/ftomassetti/backtrader-oandav20), and try again.
      Do I need to introduce other components? In addition to oandav20.
      I just came into contact with this, and the purpose is hope to learn the data-driven process of the project through running live data feed demo and debugging.
      Thank you so much for your reply and advice.

      posted in General Discussion
      xiaoy0521
      xiaoy0521
    • How to run Oandatest demo?

      Hello Dro,
      I' m trying to use the code Oandatest.py but that doesn't work I have the following error:
      0_1553756313621_0ad8fd38-1067-4849-9c56-71830980ea20-图片.png
      I read old posts :https://community.backtrader.com/topic/99/oandatest-no-attribute-contractdetails
      but I'm a bit stupid, not find a way to continue. I just started learning to use backtrader, and run oandatest.py.
      I got oanda account and token , but don't know how to get old oanda API message .

      I change parameter attribute (account_id, token, data0)
      0_1553756704442_25e41fd4-0eaf-44c7-bb86-f8d8b0394633-图片.png

      if I don't change ,it's don't work and error:
      0_1553756810819_431320ef-8857-459b-8d51-d4e588737036-图片.png

      so, how to run oandatest.py succeed ? What should I pay attention? I couldn't find a way.
      please, give me a hand . thanks very much.

      posted in General Discussion
      xiaoy0521
      xiaoy0521
    • 1 / 1