Giter Club home page Giter Club logo

bybit-futures-bot's Issues

File Not Found (setting.json)

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'

Documentation

@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

websocket

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

Can't running

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 ?

Function about.

Hi,

First happy new year! Can you give some info about the function? Example websocket.py and profit.py??

Can't Start

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.

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.