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/

    I am a developer and I would like extend feed to use the BITMEX api. Can I contribute?

    General Code/Help
    3
    4
    996
    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.
    • dedeco
      dedeco last edited by

      I am creating a new feed to Bitmex similar as the Yahoo Api (that is not working anymore).

      Here is the docs: https://www.bitmex.com/app/restAPI.

      What's guidelines I can adopt to contribute?

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

        @dedeco said in I am a developer and I would like extend feed to use the BITMEX api. Can I contribute?:

        What's guidelines I can adopt to contribute?

        1. Create your data feed
        2. Upload it to pypi with the name of your choosing, for example: bitmex_backtrader
        3. Let users know in your docs they can do something like this
        import backtrader as bt
        from bitmex_backtrader import BitmexBacktrader
        
        data = BitmexBacktrader(dataname=...)
        
        cerebro = bt.Cerebro()
        cerebro.addata(data)
        ...
        
        dedeco 1 Reply Last reply Reply Quote 1
        • dedeco
          dedeco @backtrader last edited by

          @backtrader Thanks!

          I will let know when I finished!

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

            Hi @dedeco ,
            I'm looking as well for a bitmex broker to be able to do live trade. Is they are anything I can help you ?

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