Giter VIP home page Giter VIP logo

binance-copy-trade-bot-old's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @tpmmthomas
  • ๐Ÿ‘€ Iโ€™m interested in Machine Learning, Blockchain technologies and all sorts of interesting programming projects.
  • ๐ŸŒฑ Iโ€™m currently a PhD student in the University of Edinburgh, studying Valuation Protocols for Collaborative AI Marketplaces over Blockchains.

binance-copy-trade-bot-old's People

Contributors

tpmmthomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

binance-copy-trade-bot-old's Issues

Binance futures exchange info

Hi,

when i setup the trader that i want to follow i get this
DevTools listening on ws://127.0.0.1:61243/devtools/browser/fc6120e9-96a6-4f55-bc85-e4bf51ee9c99
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\patri\Desktop\binance-copy-trade-bot-main\binance-copy-trade-bot-main\mon_position.py", line 1277, in initTraderThread
CurrentUsers[chat_id] = users(
File "C:\Users\patri\Desktop\binance-copy-trade-bot-main\binance-copy-trade-bot-main\mon_position.py", line 5234, in init
self.bclient = BinanceClient(
File "C:\Users\patri\Desktop\binance-copy-trade-bot-main\binance-copy-trade-bot-main\mon_position.py", line 4510, in init
info = self.client.futures_exchange_info()
AttributeError: 'Client' object has no attribute 'futures_exchange_info'

Allsymbols keyerror

Hi there, I love this idea for this project!

However, I am facing some errors unfortunately and hoping you could provide me some insight on how to resolve them :)

I setup everything correctly, however, I am getting a keyerror.
I followed the steps in Telegram, the keyerror appears after inputting the SL value.

Please find the debug log below:

2021-08-27 21:22:25,998 - __main__ - INFO - No data to restore. 2021-08-27 21:22:26,003 - apscheduler.scheduler - INFO - Scheduler started 2021-08-27 21:22:37,771 - __main__ - INFO - AA is doing authentication check. 2021-08-27 21:22:39,520 - __main__ - INFO - AA has agreed to the disclaimer. 2021-08-27 21:23:04,845 - __main__ - INFO - AA has entered the first url. 2021-08-27 21:23:31,032 - __main__ - ERROR - APIError(code=-4059): No need to change position side. 2021-08-27 21:23:31,266 - __main__ - ERROR - APIError(code=-4046): No need to change margin type. Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/home/User/Documents/binance-copy-trade-bot/mon_position.py", line 1184, in initTraderThread CurrentUsers[chat_id] = users( File "/home/User/Documents/binance-copy-trade-bot/mon_position.py", line 4878, in __init__ thr = FetchLatestPosition( File "/home/User/Documents/binance-copy-trade-bot/mon_position.py", line 368, in __init__ self.reload() File "/home/User/Documents/binance-copy-trade-bot/mon_position.py", line 794, in reload allsymbols = CurrentUsers[self.chat_id].bclient.get_symbols() KeyError: 803092140

Running Ubuntu 20.04, python3.9 and everything setup within a virtualenv with all required dependencies installed.

Thanks and kind regards,

Pusherman2

Sub accounts

Hello I want a master - sub account trading system on binance futures where the trades placed in the main account will be copied by other accounts in binance itself Can someone help me please

ByBit - Float division by zero error

Hi there,

Checking in again, seen lots of updates, good stuff! I am testing it again and using ByBit this time as the exchange. However, I noticed when following a trader, sometimes the following error messages will occur:

opened order.
INFO - Debug float division by zero
ERROR - Some uncaught error! Oh no.

And subsequently the following message appears in TG: "Successfully quit following trader"

Unfortunately, I don't have the log what it was doing at that time but I am assuming an API exception when placing the order and there is some issue with determining the amount with proportionality? This is just a guess, I am also trading small amounts so maybe its an error that the amount is insufficient for trading a certain pair on the exchange.

The problem that arises is that, the script will remove/add the trader again and reload and this will take +- 3 minutes and in this timeframe it's possible to miss some orders/trades.

I've commented out the part of removing/reloading the trader if that happens but what would you suggest to prevent the bot from reloading?
Also as a last question, if a limit order is not filled, will it be cancelled after a while? I could not find an expiration timer in the code but i've seen it happen and that's good if that's there to prevent unwanted trades in the future.

Once again thanks for all your efforts. If there's anything I can do to help/elaborate more or provide more logs, please let me know :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.