BitShares Forum

Main => Technical Support => Topic started by: pqbb on February 01, 2018, 10:18:29 am

Title: [api problem] i use 'get_market_history', but get empty data, why?
Post by: pqbb on February 01, 2018, 10:18:29 am
i connect to my full node, the other api works well, but the 'get_market_history' return empty array, i don't know why, the params i thought was correct(like below).
get_market_history BTS CNY 30 "2017-07-02T00:00:00" "2017-07-01T00:00:00"
.
(i did nothing in the config.ini file)

Title: Re: [api problem] i use 'get_market_history', but get empty data, why?
Post by: pqbb on February 01, 2018, 10:34:29 am
resolved, it seems the time period not match  :D
Title: Re: [api problem] i use 'get_market_history', but get empty data, why?
Post by: pqbb on February 01, 2018, 10:45:22 am
but my new problem is 'get_fill_order_history' not work, it return the error 'no method with name 'get_fill_order_history''
i do not know why, i connect the node by websocket

anyone can help me?

thanks a lot
Title: Re: [api problem] i use 'get_market_history', but get empty data, why?
Post by: abit on February 01, 2018, 12:30:46 pm
but my new problem is 'get_fill_order_history' not work, it return the error 'no method with name 'get_fill_order_history''
i do not know why, i connect the node by websocket

anyone can help me?

thanks a lot
get_fill_order_history is not a cli_wallet API, but a witness_node API.
Title: Re: [api problem] i use 'get_market_history', but get empty data, why?
Post by: pqbb on February 01, 2018, 01:05:26 pm
but my new problem is 'get_fill_order_history' not work, it return the error 'no method with name 'get_fill_order_history''
i do not know why, i connect the node by websocket

anyone can help me?

thanks a lot
get_fill_order_history is not a cli_wallet API, but a witness_node API.

thanks very much, it's really a key issue!Got it!