thefourgreaterrors / alpha-rptr Goto Github PK
View Code? Open in Web Editor NEWA trading bot for automated algorithmic trading on Binance Futures, Bybit, BitMEX and FTX written in python.
License: MIT License
A trading bot for automated algorithmic trading on Binance Futures, Bybit, BitMEX and FTX written in python.
License: MIT License
Hi, I have Futures, Reading and European Options activated on my Binance API Key and also I've got it unresticted mode, its only for my IP address. Please help I have no idea what's wrong.
python main.py --demo --account binanceaccount1 --exchange binance --pair ZENUSDT --strategy Sample
INFO - Bot Mode : Trade INFO - pair: ZENUSDT INFO - timeframes: ['15m'] Traceback (most recent call last): File "main.py", line 38, in <module> bot.run() ... File "binance_futures_api.py", line 268, in _handle_response raise BinanceAPIException(self.response) src.exchange.binance_futures.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action, request ip: XXX.XXX.XXX.XXX INFO - Stopping Bot Exception ignored in: <function Bot.__del__ at 0x16a1676d0> ... AttributeError: 'BinanceFutures' object has no attribute 'ws'
2020-09-12 17:56:05,657 - INFO - pos_size: 0.0
2020-09-12 17:56:06,235 - ERROR - An error occurred. APIError(code=-1111): Precision is over the maximum defined for this asset.
2020-09-12 17:56:06,235 - ERROR - Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures.py", line 778, in __update_ohlcv
self.strategy(open, close, high, low, volume)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\strategy.py", line 299, in strategy
self.exchange.entry("Long", True, lot/20)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures.py", line 444, in entry
self.order(id, long, ord_qty, limit, stop, post_only, reduce_only, trailing_stop, activationPrice, when)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures.py", line 477, in order
self.__new_order(ord_id, side, ord_qty, limit, stop, post_only, reduce_only, trailing_stop, activationPrice)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures.py", line 375, in _new_order
retry(lambda: self.client.futures_create_order(symbol=self.pair, type=ord_type, newClientOrderId=ord_id,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src_init.py", line 119, in retry_binance_futures
ret, res = func()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures.py", line 376, in
side=side, quantity=ord_qty))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures_api.py", line 393, in futures_create_order
return self._request_futures_api('post', 'order', True, data=params)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures_api.py", line 220, in _request_futures_api
return self._request(method, uri, signed, True, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures_api.py", line 195, in _request
return self._handle_response()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\MARZA\alpha-rptr-master\src\binance_futures_api.py", line 229, in _handle_response
raise BinanceAPIException(self.response)
src.exceptions.BinanceAPIException: APIError(code=-1111): Precision is over the maximum defined for this asset.
hi
can you help me how can ı run with pycharm
Hi, How can i add trolling stop instead of take profit into the strategy....thanks
File "/home/xxxxx/alpha-rptr/main.py", line 38, in
bot.run()
File "/home/xxxxx/alpha-rptr/src/bot.py", line 275, in run
self.exchange.show_result()
TypeError: Bybit.show_result() missing 1 required positional argument: 'plot
when I tryed to start bot by command - python3 main.py --account binanceaccount1 --exchange binance --pair BTCUSDT --strategy Doten
Is showing callback error
2021-06-14 14:31:28,628 - ERROR - error from callback <bound method BinanceFuturesWs.__on_message of <src.binance_futures_websocket.BinanceFuturesWs object at 0x762c2351c0>>: __on_message() missing 1 required positional argument: 'message'
need help. I'm having this error
lib/python3.8/site-packages/talib/_ta_lib.cpython-38-darwin.so, 2): Symbol not found: _TA_ACOS
thanks
Bot has launched, shows account balance but after that, at line 942 (binance futures), (ohlcv update)
Error : Str is not callable
Traceback (most recent call last):
File "main.py", line 8, in
from src.factory import BotFactory
File "/root/ta-lib/alpha-rptr/src/init.py", line 252
def notify(message: object, fileName: object = None) -> object:
^
SyntaxError: invalid syntax
thx u !
Hey buddy, this is an awesome project! Great stuff and thanks for sharing this open-source.
Are you considering adding FTX? In terms of liquidity, innovations, plenty of a pairs to trade and the community FTX is really overtaking Bitmex...
I would buy you a beer :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.