MohammedRashad / Crypto-Copy-Trader

A copy trading tool for cryptocurrencies - Binance Exchange
Apache License 2.0
201 stars 84 forks source link

Binance Futures Support and getting started guide #17

Open lucky-ali opened 4 years ago

lucky-ali commented 4 years ago

Does this have binance futures support and do you have steps on how to get started?

mokolotron commented 4 years ago

No, now there is no support for Binance Futeres. But it would be nice if it were. Now I am working on supporting Bitmex in my fork. If the @MohammedRashad creates a develop branch, I will make a pool request there and you can see the code.

mokolotron commented 4 years ago

Guide

How to run :

Guide of config.json file:

Don't run this program with BitmexExchange it not finished yet and don't working.

To create new exchange

you need to create new class BinanceFuteres.py in ExchangeInterfaces directory and inherit it from ExchangeInterfaces/Exchange.py. Then you must implement all abstract methods from super class.

Short guide of Exchange methods:

If you have questions or troubles let us know.

lucky-ali commented 4 years ago

Appreciate it. I'll try to run through and see how i get on with it.

lucky-ali commented 4 years ago

I was unable to find the config-sample.json file. Was able to find the config.csv file. (also there was no where to select binance exchange)

I started the application using python api.py

browsed to localhost:5000 and saw some pre-existing api keys added, removed them and added my API keys (a master account, and a slave account)

I placed an order on the master account which was filled and executed on the master account, however the same was not done on the slave account.

I got no error on the website when i refresed the page and also no errors or logs regarding the order on the commandprompt window.

How can i provide the relevant information to find out what the issue is?

mokolotron commented 4 years ago

I wrote this guide for the develop branch version. If you don't find config-sample.json - you are using the master branch. I am working on adding another exchange, so i changed a lot of things . Version on the master branch, only Binance Spot orders are supported.

To solve the problem just open a new Issue and

Then I'll see what I can do

lucky-ali commented 4 years ago

Do we have an ETA when Binance futures will be implemented, really need it since i only trade futures.

mokolotron commented 4 years ago

I don't have