Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the Bybit Savings Total Balance via USDT? #276

Open
jamescarlyap15 opened this issue Jan 20, 2025 · 5 comments
Open

How to get the Bybit Savings Total Balance via USDT? #276

jamescarlyap15 opened this issue Jan 20, 2025 · 5 comments

Comments

@jamescarlyap15
Copy link

I have one solution

def combine_and_calculate(data_out, data_in):
    list_out = data_out["result"]["list"]
    list_in = data_in["result"]["list"]

    combined = list_out + list_in

    combined_sorted = sorted(combined, key=lambda x: int(x["transactionTime"]))

    total_outflow = sum(float(item["cashFlow"]) for item in combined_sorted)

    return total_outflow 


data_transfer_out = bybit_request("/v5/account/transaction-log", {
    "type": "TRANSFER_OUT"
})
    
data_transfer_in = bybit_request("/v5/account/transaction-log", {
    "type": "TRANSFER_IN"
})

But, I don't know if it will be reliable in the future. Will it be supported? As I checked on other API from other exchanges, they have dedicated to get current savings total balance in USDT.

@jamescarlyap15
Copy link
Author

jamescarlyap15 commented Jan 21, 2025

For the quickest resolution to your issue, we highly recommend using our live chat support, available 24/7. Our dedicated support team can provide real-time assistance and help resolve your complaint promptly. You can access the live chat here: Help SUPPORT.

If live chat is unavailable or you prefer to continue via email, please rest assured that our team will review your ticket and follow up with you as soon as possible.

How dare you trying to scam me. Nice try though. Please report this account

@kolya5544
Copy link

Bybit Earn product is not supported by Bybit API.

@jamescarlyap15
Copy link
Author

Bybit Earn product is not supported by Bybit API.

Will it going to be support soon?

@kolya5544
Copy link

I unfortunately do not have any information on the plans to add Bybit Earn product 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@kolya5544 @jamescarlyap15 and others