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/

    Anyone use backtrader to do live trading on Bitcoin exchange?

    General Discussion
    pairs trading crypto
    80
    326
    145822
    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.
    • C
      CptanPanic last edited by

      I have set up back testing to work so far, and plan to set it up for at least live manual trade signals if not just full automated trading. I have seen a few questions, but was wondering if anyone has created a live data feed and/or broker for an exchange like gdax, bitfinex, etc.

      Planet Winter 1 Reply Last reply Reply Quote 6
      • S
        silverbald last edited by

        Hello

        I didn't ... but I'm looking for similar goal. If it's not existing yet - I'm open to cooperate to make it happen.

        regards
        Silverbald

        1 Reply Last reply Reply Quote 0
        • C
          CptanPanic last edited by

          Sounds good, I am currently coding up my algorithim with backtest, but once I am happy would that, would be great to divide and conquer.

          E 1 Reply Last reply Reply Quote 0
          • E
            Ed Bartosh @CptanPanic last edited by

            @CptanPanic I sketched support of gemini some time ago. didn't use it much and it's just a draft, but if you're interested I can show the code.

            P.S. I'm going to implement coinbase(gdax?) support soon and can help you guys with this if needed. I hope that coinbase API is similar to other Bitcoin exchanges and I can use gemini support code for it with small changes.

            C 1 Reply Last reply Reply Quote 0
            • C
              CptanPanic @Ed Bartosh last edited by

              @Ed-Bartosh Yes GDAX support would be great. Let me know how it looks when you get to it.

              ricpruss 1 Reply Last reply Reply Quote 0
              • ricpruss
                ricpruss @CptanPanic last edited by

                @CptanPanic said in Anyone use backtrader to do live trading on Bitcoin exchange?:

                GDAX

                You might want to look at https://github.com/ccxt-dev/ccxt
                and see if you can wrap it to backtrader api as it covers a boatload of exchanges.. It is on my one day list of things to look at.

                C 1 Reply Last reply Reply Quote 1
                • C
                  CptanPanic @ricpruss last edited by

                  @ricpruss Actually that library ccxt looks great, it has support for tons of exchanges and is updated frequently. Would make sense to make a backtrader broker that just takes a ccxt object, and backtrader wouldn't have to worry about individual exchanges at all.

                  1 Reply Last reply Reply Quote 1
                  • S
                    silverbald last edited by

                    Hello

                    I'm working with ccxt and It's great tool :-). Till now I'm using it for data reading/downloading and I didn't yet use it for orders management but using it would help us a lot :-)
                    I think we should 1st check what's already there - not to do double work. Maybe not only ccxt could be used and speed up our work.

                    Pawel

                    1 Reply Last reply Reply Quote 1
                    • G
                      gindeleo last edited by

                      I'm currently working on implementing Poloniex as exchange for backtrader. The ccxt library looks great! Never seen it before. Happy to contribute.

                      What do you guys think. Shall we get organised and work on this together (on a public repo). Connecting backtrader with ccxt will probably help a lot of people.

                      C 1 Reply Last reply Reply Quote 1
                      • C
                        CptanPanic @gindeleo last edited by

                        @gindeleo yes lets do it.

                        1 Reply Last reply Reply Quote 0
                        • S
                          silverbald last edited by

                          yes I'm in :-)

                          1 Reply Last reply Reply Quote 0
                          • K
                            kroitor last edited by kroitor

                            Hi, everyone!

                            Thx for your feedback on ccxt! Nice project you have here! )

                            Take a look at this table, it might be of interest to you:

                            0_1507309014825_Screen Shot 2017-10-06 at 18.23.25.png

                            Basically, we support all public and private methods out of the box already. All of them work with no exception. But not all of private methods have been completely wrapped into a common unified subset yet. We're trying to build an all-in-one unified API on top of their custom public and private APIs. And most of this work has been done already, but not all of it. All underlying public and private endpoints should work right away, though (they are all available in current version of ccxt).

                            So, you can fetch data, create orders, fetch balances, all you need for basic trading, all public and private API methods are there... Some methods of the unified API may still be missing, though, and we will be happy if you submit a PR ;) Here's our CONTRIBUTING doc. Also, feel free to open an issue if you encounter a difficulty or question regarding the library!

                            Thx!

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              silverbald @kroitor last edited by

                              @kroitor
                              Hi Kroitor
                              do I guess it properly that You are ccxt developer? :-)
                              ccxt is great tool :-) I'm using it already :-)
                              It would be great to connect it with backtrader :-)

                              regards
                              Pawel

                              K 1 Reply Last reply Reply Quote 0
                              • R
                                rudolph0strange last edited by

                                @silverbald said in Anyone use backtrader to do live trading on Bitcoin exchange?:

                                Pawel

                                Hey all, assuming you were interested in a paid solution, the API at http://coinigy.com/ might also be an option since it interacts with a bunch of exchanges. That being said, I've been playing around with @kroitor 's CCXT and it seems great.

                                S 1 Reply Last reply Reply Quote 0
                                • K
                                  kroitor @silverbald last edited by kroitor

                                  @silverbald thx! I also think widening the adoption of ccxt is great ) And backtrader looks fantastic!

                                  I'm not the only developer of it, of course!) There's a small team of us actively working on it. All members of our team have done a huge deal of work. We are happy to have 30 contributors (3rd-parties) by now. We also have thousands of active users, they are very kind to report on bugs and issues. Oh, btw, developers of the GDAX started integrating our lib into their GDAX Trading Toolkit recently ;) And ccxt now serves more than 1M downloads from NPM monthly + approx the same number of downloads from PyPI )

                                  All of you guys are really welcome to use and develop it further! We will be thankful for your feedback!

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    silverbald @kroitor last edited by

                                    @kroitor
                                    Wooow so ccxt is already the BIT THING :-) - congratualtions :-)

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      silverbald @rudolph0strange last edited by

                                      @rudolph0strange
                                      Does coinigy provide algo-trading?
                                      to be specific: is it possible that coinigy will make and limit orders for me (on bittrex) according to my algorithm (crossing 2 Exponential Moving Averages)?

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        rudolph0strange @silverbald last edited by

                                        @silverbald It basically just gives you a unified rest + socket based api to all the exchanges it itself supports. So you should be able to do that.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Chapachan last edited by

                                          I'm currently using ccxt and I'd love to have it in backtrader :)

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            Chapachan last edited by

                                            Actually I'd even pay something as a donation or whatever to @backtrader to implement ccxt as a new broker, to assure that it is correctly done. I don't rely too much on my coding skills to do it.

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