adding json-rpc call to get market history