binance / binance/binance-connector-python

Different model for get_locked_product_position for different API keys

Open
#465 2 comments 0 reactions 0 assignees View on GitHub
Answered
Dominant language
Python
Stars
2.9k
Forks
697
PR merge metrics
No merged PRs in 30d

Description

# 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"
]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.