0
我想在https://github.com/jmcarp/betfair.py的betfair.py包中使用get_account_funds方法。在自述中,有一些使用list_event_types方法的代码,这对我来说是完美的,所以我的身份验证运行良好。然而,当我尝试:将get_account_funds和betfair.py包一起使用
from betfair.models import AccountFundsResponse
client.get_account_funds()
错误一束抛出起来,用ApiError中结束:UNKNOWN.Does人知道如何克服这种错误?背线错误似乎是:
121 self = args[0]
122 if self.session_token:
--> 123 return func(*args, **kwargs)
124 raise exceptions.NotLoggedIn()
其次:
454 'getAccountFunds',
455 utils.get_kwargs(locals()),
--> 456 model=models.AccountFundsResponse,
457 )