11 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
82
views
Updating stop-loss of an active short-position
Im using the Pybit module to trade on Bybit - and my problem is updating the trailing stop-loss of short-positions. When i want to update using the set_trading_stop-call, i get an 34040 errorcode and ...
0
votes
1
answer
1k
views
pybit 'ab not enough for new order' appears although I have funds on my unified trading wallet
I'm trying to open USDT-M Futures position on my Bybit account but getting error:
pybit.exceptions.InvalidRequestError: ab not enough for new order (ErrCode: 110007) (ErrTime: 07:15:38).
Request → ...
0
votes
1
answer
204
views
Any way to use proxy in pybit?
I want to use proxy server before sending request directly to py-bit. I am using
pybit.unified_trading --> HTTP and it doesn’t come with any such params to connect with proxy.
This is my ...
0
votes
0
answers
35
views
pybit websocket external call
I have a problem with pybit v5, if you can help me, thank you in advance.
from config_exucation import ticker_1
from config_exucation import ticker_2
from pybit.unified_trading import WebSocket
from ...
-3
votes
1
answer
3k
views
ByBit API: How to get info on all positions?
I cannot use the get_positions() function to get information about all positions. I can only get information about each individual position. How can I get info of all existing positions?
session = ...
0
votes
0
answers
389
views
pybit error " Http status code is not 200. " when running session.query_kline
I have the code that I was using before to export the kline data from bybit.
for i in range(len(pairName)):
coinKline = session.query_kline(symbol=pairName[i], ...
0
votes
0
answers
1k
views
Problem with pybit - problem with python?
It is a simple request on bybit with the pybit library.
I use the following code, that runs perfect on my development system (Windows 11, PyCharm).
But I use Ubuntu Server 20.04.4 LTS for my system. I ...
0
votes
1
answer
1k
views
ImportError: cannot import name 'usdt_perpetual' from 'pybit'
I am following a tutorial on building a bot for statistic arbitrage.
The following command should be executed:
from pybit import usdt_perpetual
I'm getting an error:
ImportError: cannot import name '...
1
vote
1
answer
2k
views
pybit.exceptions.FailedRequestError: Http status code is not 200. (ErrCode: 404) (ErrTime: 07:32:08)
I have an issue with Python's Pybit module. I'm trying to get my wallet balance but I get the following error:
pybit.exceptions.FailedRequestError: Http status code is not 200. (ErrCode: 404) (ErrTime:...
0
votes
1
answer
2k
views
Updating TP/SL of an active position with pybit
Hello Stack Overflow community,
I hope you're all doing well and having a great day!
I'm having an issue with the pybit package in Python, and I was hoping that someone here might be able to help me ...
0
votes
1
answer
2k
views
InvalidRequestError when make order in pybit
I want to test some codes for placing short-open orders using pybit.
My code is as follows.
from pybit import *
session = usdt_perpetual.HTTP(endpoint = "https://api-testnet.bybit.com",
...