When I call:
sync_app_with_auth.trading.buy('BTC_XMR', 1, 1)
I got:
[...]
File "/src/poloniex/poloniex/api/base.py", line 42, in decorator
method, params = self.get_params(func.__name__, **kwargs)
TypeError: get_params() got multiple values for argument 'self'
The same for sell (and probably any other method).
When I call it like this:
sync_app_with_auth.trading.api_call(data={
'command': 'buy',
'currencyPair': 'BTC_XMR',
'rate': 1,
'amount': 1,
})
Everything works well (so it's probably command_operator decorator bug).
Python 3.5
When I call:
sync_app_with_auth.trading.buy('BTC_XMR', 1, 1)I got:
The same for
sell(and probably any other method).When I call it like this:
Everything works well (so it's probably
command_operatordecorator bug).Python 3.5