Comments (5)
Ah, it seems my key expired just that day. Thanks a lot :)
I am trying to get my wallet balance and unrealised PNL from the result, but it seems I can't query it directly from the res.Result. Is there any way I can access these? like res.Equity, res.UnrealisedPnl
Thanks again :)
from bybit.
Thanks alot for the instructions, all is working fine now. Thanks again for this module!
from bybit.
Thanks for your comment.
Your API key may have expired, please check it on the admin page.
from bybit.
Otherwise, I think you can find other reason inside CommonResponse
like below
fmt.Println(res.CommonResponse)
Lines 4 to 13 in b119d59
from bybit.
You can access these like below
res.Result.Balance[bybit.CoinUSDT].Equity
res.Result.Balance[bybit.CoinUSDT].UnrealisedPnl
from bybit.
Related Issues (18)
- failing tests HOT 2
- Concurrent write to websocket connection HOT 8
- [bug] CancelOrder cannot find OrderLinkID HOT 4
- Timestamp errors HOT 4
- panic: repeated read on failed websocket connection HOT 5
- How to make cross margin leverage order ? HOT 1
- Missing property in V5GetPositionInfoItem HOT 1
- api v5 marketUnit HOT 2
- Custom http client HOT 2
- Turnover in kline request is wrong HOT 2
- Update types HOT 2
- Subscribe to multiple symbols as in Pybit HOT 5
- Signing seems to be broken? HOT 9
- Testnet HOT 2
- USDTPerp ListLinearPositions doesn't return errors properly HOT 3
- API V5 HOT 35
- Warning: int vs int64
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 bybit.