cryptognome / bybit-futures-bot Goto Github PK
View Code? Open in Web Editor NEWA Trading Bot for Bybit USDT Futures with a built in strategy for Liquidation Hunting, Dollar Cost Averaging & Position Control
License: MIT License
A Trading Bot for Bybit USDT Futures with a built in strategy for Liquidation Hunting, Dollar Cost Averaging & Position Control
License: MIT License
@CryptoGnome how long until you have some documentation done. I'm trying to figure out the settings configuration.
At Max Size for SOL Tier or Not Outside Drawdown Settings..
Does not Meet VWAP or Size Requirements
When Taking a short position the bot will always sell at a positive % over your short causing a % loss. Rather then closing below the Short.
Short Position:
https://media.discordapp.net/attachments/398147236610965504/887086789356032061/Capture.PNG?width=932&height=126
Take Profit:
https://media.discordapp.net/attachments/398147236610965504/887087477129625640/Capture.PNG?width=932&height=86
I already have downloaded settings.json why filenot found ?
PS C:\Users\User> & C:/Users/User/AppData/Local/Programs/Python/Python36/python.exe c:/Users/User/Desktop/Bybit-Futures-Bot-main/BybitUSDT/websocket.py
Traceback (most recent call last):
File "c:/Users/User/Desktop/Bybit-Futures-Bot-main/BybitUSDT/websocket.py", line 13, in
with open('../settings.json', 'r') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '../settings.json'
Hi,
First happy new year! Can you give some info about the function? Example websocket.py and profit.py??
Hi I am trying to run this but I got errors from the beginner:
python3 websocket.py
Traceback (most recent call last):
File "websocket.py", line 14, in
settings = json.load(fp)
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 1 (char 157)
Then I go to that line and change from settings = json.load(fp) to "settings = json.load(fp)" or 'settings = json.load(fp)'
and try to run again:
python3 websocket.py
Traceback (most recent call last):
File "websocket.py", line 32, in
client = bybitwrapper.bybit(test=False, api_key=settings['key'], api_secret=settings['secret'])
TypeError: string indices must be integers
Exception ignored in: <function Exchange.del at 0x7f403c4bc310>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/ccxt/base/exchange.py", line 399, in del
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 736, in close
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 325, in close
File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 211, in clear
File "/usr/lib/python3/dist-packages/urllib3/_collections.py", line 94, in clear
TypeError: 'NoneType' object is not callable
Any tips here ?
Tried to run websocket.py.
Received error.
Traceback (most recent call last):
File "C:\Users********\Downloads\Bybit-Futures-Bot\BybitUSDT\websocket.py", line 9, in
from unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager import BinanceWebSocketApiManager ModuleNotFoundError: No module named 'unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager'
No errors found when using pip install.
raise MatchingResponseNotFound(
bravado.exception.HTTPNotFound: 404 Not Found: Response specification matching http status_code 404 not found for operation Operation(LinearPositions_myPosition). Either add a response specification for the status_code or use a default
response.
can anybody help me websocket was work perfectly two weak, and then when i start the bot it running norm 2 -10 min and have this error
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.