HTX will adjust the value range of the request parameter "size" in the existing rest API " GET /v1/order/matchresults "

Dear API user,

HTX will adjust the value range of the request parameter "size" in the existing rest API " GET /v1/order/matchresults ". The upper limit of the value will be increased from the current 100 to 500, which means that after adjustment, the maximum number of records available for each request will be adjusted from 100 to 500.

Effective Date: March 17, 2020 (GMT+8)
All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/

HTX
March 16, 2020

The following are the changes in details:

GET /v1/order/matchresults – Search Match Results

Request Parameters

Parameter Data Type Description Default Value Range
symbol string The trading symbol to trade NA  
types string The types of order to include in the search all buy-market, sell-market, buy-limit, sell-limit, buy-ioc, sell-ioc, buy-limit-maker, sell-limit-maker, buy-stop-limit, sell-stop-limit
start-date string Search starts date (Singapore timezone), in format yyyy-mm-dd -1d value range [((end-date) – 1), (end-date)], maximum query window size is 2 days, query window shift should be within past 61 days
end-date string Search ends date (Singapore timezone), in format yyyy-mm-dd today value range [(today-60), today], maximum query window size is 2 days, query window shift should be within past 61 days
from string Search internal id to begin with NA  
direct string Search direction when 'from' is used next next, prev
size string The number of orders to return 100 [1,500]

Response Content
No change in response parameters