Anyone use backtrader to do live trading on Bitcoin exchange?
-
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.
-
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 -
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.
-
@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.
-
@Ed-Bartosh Yes GDAX support would be great. Let me know how it looks when you get to it.
-
@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. -
@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.
-
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
-
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.
-
@gindeleo yes lets do it.
-
yes I'm in :-)
-
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:
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!
-
@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 -
@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.
-
@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!
-
@kroitor
Wooow so ccxt is already the BIT THING :-) - congratualtions :-) -
@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)? -
@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.
-
I'm currently using ccxt and I'd love to have it in backtrader :)
-
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.