Giter Club home page Giter Club logo

Comments (2)

carlosmiei avatar carlosmiei commented on June 5, 2024 1

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.

c0dehunter avatar c0dehunter commented on June 5, 2024

Thank you, this works! Thanks!

from ccxt.

Related Issues (20)

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.