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

fix OKEx OnGetAmountsAsync #706

Merged
merged 1 commit into from
Dec 13, 2021
Merged

fix OKEx OnGetAmountsAsync #706

merged 1 commit into from
Dec 13, 2021

Conversation

BZ-CO
Copy link
Contributor

@BZ-CO BZ-CO commented Dec 13, 2021

For some reason Okex returns some small available balances with missing currency names, so we remove those.

{ "availBal": "0.0278185", "availEq": "", "cashBal": "0.0278185", "ccy": "", "crossLiab": "", "disEq": "0", "eq": "0.0278185", "eqUsd": "0.0000000278568895", "frozenBal": "0", "interest": "", "isoEq": "", "isoLiab": "", "isoUpl": "", "liab": "", "maxLoan": "", "mgnRatio": "", "notionalLever": "", "ordFrozen": "0", "stgyEq": "0", "twap": "0", "uTime": "1622841834999", "upl": "", "uplLiab": "" }

For some reason Okex returns some small available balances with missing currency names, so we remove those.
@vslee vslee merged commit aab2fc0 into DigitalRuby:master Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants