Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Please help me with java api LOT_SIZE error #278

@Grebyn35

Description

@Grebyn35

Hi, im building an algo with this API however i keep getting the LOT_SIZE error, the cause is by making a market/limit order that the decimal precision value is incorrect. I know i can get the right precision with the .getStepSize function, or the getExchangeInfo() but its not working!!! I keep getting this error

"Cannot deserialize value of type com.binance.api.client.domain.general.FilterType from String "MAX_POSITION": value not one of declared Enum instance names: [MARKET_LOT_SIZE, ICEBERG_PARTS, EXCHANGE_MAX_NUM_ORDERS, MAX_ALGO_ORDERS, MAX_NUM_ORDERS, EXCHANGE_MAX_ALGO_ORDERS, MAX_NUM_ALGO_ORDERS, PRICE_FILTER, LOT_SIZE, MAX_NUM_ICEBERG_ORDERS, MIN_NOTIONAL, PERCENT_PRICE]"

I have tried to use the filter type with all of these options but its the same error. Please help me get the precision value for the quantity i have not slept for 2 days

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions