FutunnOpen / py-futu-api

富途 OpenAPI Python SDK
Apache License 2.0
1.04k stars 221 forks source link

PRE_PRICE_CHANGE_VAL Only Available For SortField #177

Closed williswschan closed 3 months ago

williswschan commented 3 months ago

Hi All,

I am working on some python stock filtering like SimpleFilter and I realized that "PRE_PRICE_CHANGE_VAL" is only available for "SortField" but not for StockField.

"PRE_PRICE_CHANGE_VAL" info is available in Futu app and I believe it is retrievable in api as well. Would you please have me some advice. Thanks.

Rgd, Willis

potatobs4321 commented 3 months ago

Hi All,

I am working on some python stock filtering like SimpleFilter and I realized that "PRE_PRICE_CHANGE_VAL" is only available for "SortField" but not for StockField.

"PRE_PRICE_CHANGE_VAL" info is available in Futu app and I believe it is retrievable in api as well. Would you please have me some advice. Thanks.

Rgd, Willis

It is not available to filter stocks by "PRE_PRICE_CHANGE_VAL" in API currently. "PRE_PRICE_CHANGE_VAL" is a parameter type for get_plate_stock function. It has nothing to do with get_stock_filter function.