Comments (2)
Hello @c0dehunter, first and foremost be very careful with those keys.
Second, can you try this? fetch_balance(array("type" => "funding"))
?
I tested and it worked:
PHP v8.3.2
CCXT version :4.3.9
bybit->fetch_balance(Array)
Array
(
[timestamp] => 1714214389287
[datetime] => 2024-04-27T10:39:49.287Z
[BTC] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[MNT] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[TON] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[EUR] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[MERL] => Array
(
[free] => 28.2562
[used] => 0
[total] => 28.2562
)
[BNB] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[XRP] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[ETH] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[USDT] => Array
(
[free] => 0.0078
[used] => 0
[total] => 0.0078
)
[USDC] => Array
(
[free] => 0
[used] => 0
[total] => 0
)
[APRS] => Array
(
[free] => 4.4087
[used] => 0
[total] => 4.4087
)
[free] => Array
(
[BTC] => 0
[MNT] => 0
[TON] => 0
[EUR] => 0
[MERL] => 28.2562
[BNB] => 0
[XRP] => 0
[ETH] => 0
[USDT] => 0.0078
[USDC] => 0
[APRS] => 4.4087
)
[used] => Array
(
[BTC] => 0
[MNT] => 0
[TON] => 0
[EUR] => 0
[MERL] => 0
[BNB] => 0
[XRP] => 0
[ETH] => 0
[USDT] => 0
[USDC] => 0
[APRS] => 0
)
[total] => Array
(
[BTC] => 0
[MNT] => 0
[TON] => 0
[EUR] => 0
[MERL] => 28.2562
[BNB] => 0
[XRP] => 0
[ETH] => 0
[USDT] => 0.0078
[USDC] => 0
[APRS] => 4.4087
)
)
from ccxt.
Thank you, this works! Thanks!
from ccxt.
Related Issues (20)
- ccxt pro bingX watchTrades in swap market return empty list in python HOT 3
- Binance watch_order_book silently hangs indefinitely HOT 1
- Parsing the unrealized P&L from fetchBalance
- Basic commands from USD market not functional with USDT
- BitMart fetch_tickers() all 'percentage' values are non-negative HOT 1
- Kraken: trading fee is returned as percentage and not as ratio
- phemex watchOrders exception HOT 1
- Cannot import functions HOT 2
- Bybit CreateOrderWs with bound IP Address HOT 3
- Add Upbit private websocket connection HOT 2
- Coinbase fetch_accounts_v3 limit of 100 breaks deposit() HOT 2
- Support request for Hashkey exchange
- Support request for Backpack exchange
- Robinhood release Crypto Trading API
- The order amount must exceed 0.1 USDT while making a trade of 3 USDT HOT 16
- HTX: authentication error in C# HOT 4
- Binance successfully authenticates with the first request, then authentication error comes with the second request HOT 3
- Bitget WatchOrders for Margin does not work HOT 6
- Bitget Cancel order does not work for Margin orders. HOT 3
- ccxtpro watch_orders missing filled orders HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccxt.