Skip to content

Different model for get_locked_product_position for different API keys #465

@CossonArthur

Description

@CossonArthur

Issue

Running the query with same configuration and code but two different api key result in different output for res_flex.data()
One is dict the other is a binance defined model

    configuration = ConfigurationRestAPI(api_key=api_key, api_secret=api_secret)
    clientSimpleEarn = SimpleEarn(config_rest_api=configuration)

    res_flex = clientSimpleEarn.rest_api.get_flexible_product_position(
        recv_window=59999
    )
Image

Expected result

Independant response model from the API keys used

Env

requires-python = "==3.12.11"
dependencies = [
"binance-sdk-simple-earn>=3.2.0"
]

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