BitMEX / api-connectors

Libraries for connecting to the BitMEX API.

Home Page:https://www.bitmex.com/app/restAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't get Wallet or Account Balance

bass-dee opened this issue · comments

Hi there,

I can't access Wallet when calling client_bitmex.Wallet.Wallet(), although it exists here in the repo?
Is there any other way to get the current balance?

`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
----> 1 client_bitmex.Wallet.Wallet().result()

C:\ProgramData\Anaconda3\envs\py36\lib\site-packages\bravado\client.py in getattr(self, item)
168
169 def getattr(self, item):
--> 170 return self._get_resource(item)
171
172 def dir(self):

C:\ProgramData\Anaconda3\envs\py36\lib\site-packages\bravado\client.py in _get_resource(self, item)
150 raise AttributeError(
151 'Resource {0} not found. Available resources: {1}'
--> 152 .format(item, ', '.join(dir(self))))
153
154 # Wrap bravado-core's Resource and Operation objects in order to

AttributeError: Resource Wallet not found. Available resources: APIKey, Announcement, Chat, Execution, Funding, GlobalNotification, Instrument, Insurance, Leaderboard, Liquidation, Order, OrderBook, Position, Quote, Schema, Settlement, Stats, Trade, User, UserEvent
`