Hi,
I have difficulties calling 'get_market_history ()' via the Python API (pybitshares). If I call this function via cli_wallet (local witness node), it works fine:
get_market_history BTS USD 3600 "2017-01-01T00:00:00" "2017-01-02T00:00:00"
...
If I do the same call via the Python API, it fails:
>>> from bitshares.bitshares import BitShares
>>> node = BitShares ('ws://127.0.0.1:8090')
>>> node.rpc.get_market_history ('BTS', 'USD', 3600, '2017-01-01T00:00:00' '2017-01-02T00:00:00', api='history')
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/bitsharesapi/bitsharesnoderpc.py", line 54, in rpcexec
return self.rpc.rpcexec(self, payload)
File "/usr/local/lib/python3.6/dist-packages/grapheneapi/graphenewsrpc.py", line 174, in rpcexec
raise RPCError(ret['error']['message'])
grapheneapi.exceptions.RPCError: Assert Exception: first_dot != second_dot:
What could I do wrong here ?
Thank you in advance !