-
I'm looking for a way to get all the opened positions.
I've managed to get it working with `ContractClient.getPositions()` but can't find the equivalent in v5.
I've also spotted that bybit applicati…
-
hello there,
im sad to say that it is super disappointing that the "examples" in the example folder, cant even be called examples.
it is "inspiration" at best.
an example is something that is…
-
several types are wrong; for example, price and stopLoss are supposed to be strings, not numbers.
https://github.com/tiagosiebler/bybit-api/blob/f59438d1adf3090408f852f4cbc4f1811bcff139/src/types/r…
-
Using package 1.4.0, below code returns Server Error 10016 for UnifiedAccount Balance query. All other APIs (spot, perpetual, contract etc. work well)
Can someone help if I do sthng wrong or if this …
-
###
Hello,
I can't find documentation about the instance's option `defaultType` and `defaultSubType` and was wondering how to detect if they need to be set when accessing markets or when sendin…
-
Hello there,
I'm facing this error while runing this code :
const { SpotClient } = require('bybit-api');
const ByBitSpotClient = new SpotClient();
ByBitSpotClient.getCandles({ symbol: 'BTC…
-
const { SpotClientV3 } = require('bybit-api');
const client = new SpotClientV3({
key: API_KEY,
secret: PRIVATE_KEY
})
client.getOpenOrders("BTCUSDT").then(res => {
console.log(re…
-
Hi,
It says in the new 3.0 version that the full REST API and Websocket is completed but as far as I can see this endpoint found in the docs: https://bybit-exchange.github.io/docs/testnet/derivativ…
-
I'm always getting 0.1% slippage. It's incorrect. I want to buy EXACT amount of crypto with MARKET order. I tried just price * amount and round it to either 6 or 8 decimals.
But slippage is really bi…
-
Hi, i'm using this library on browser. I know its intented for backend use but i'm prototyping and would to use it in browser.
I'm using
const client= new MainClient({
api_key: '*******',
…