Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

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

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
1 answer
1k views

I want to use ccxt to open and close futures, spot orders. when I was using this object to open trades on futures, it was opening it on spot. bybit = ccxt.bybit({ "apiKey": setting['API']...
h2zee's user avatar
  • 1
1 vote
1 answer
907 views

I am trying to place order through WebSocket on Bybit DEMO. I get OK, but when I am trying to send order it returns: "retMsg": "API key is invalid." even though the auth was OK. ...
0 votes
1 answer
148 views

indicators.py: import pandas as pd import numpy as np import ta def lsma(data, period=14, regression=True): size = len(data) out = np.full(size, np.nan) w = np.arange(1, period + 1, dtype=...
-3 votes
1 answer
3k views

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 = ...
Tea's user avatar
  • 5
0 votes
1 answer
376 views

i am trying to open and close short positions on ccxt Bybit using ccxt with python. I do not find any kind of information or examples about how to do this. Does anyone know how to do that, or has any ...
-3 votes
1 answer
854 views

I know that there is an option to get an order book in the api, but that's not what I'm looking for. I need to get the exact number of all take profit and stop loss through the bybit api Is it ...
lil's user avatar
  • 1
1 vote
1 answer
1k views

I am trying to build a bot that buys btc/usdt for 50 usdt on bybit using ccxt and python. I also have a stoploss at 0.33% and a take profit at 0.45%. But when I try to run it, I get this message: &...
0 votes
2 answers
518 views

In the ByBit API, you can easily create TP/SL: https://bybit-exchange.github.io/docs/v5/position/trading-stop But can it be removed? I've come to the problems that there can only be 20 TP/SL a time, ...
lil's user avatar
  • 1
-4 votes
1 answer
7k views

Order details being submitted: order_id=None symbol='BTCUSDT' order_type='Limit' side='Buy' price=26050.0 qty=0.002876 take_profit=26080.0 stop_loss=26040.0 time_in_force='GTC' reduce_only=...
1 vote
1 answer
2k views

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:...
syrok's user avatar
  • 303
1 vote
1 answer
1k views

I am trying to place an order on Bybit usdt perpetual but I can't succeed. This is my script. client = HTTP(testnet = False, api_key=user_key, api_secret=secret_key) print(client.place_order( ...
elya's user avatar
  • 11
0 votes
1 answer
1k views

I am very new into programming with Python and running web applications,so wanted to make a little learn roadmap for my project with next requirements : 1.This bot should monitor my email box for ...
0 votes
1 answer
2k views

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", ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /