Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trading account, GetAccountConfigurationAsync Error #53

Closed
MihailRom opened this issue Jan 3, 2024 · 1 comment
Closed

Trading account, GetAccountConfigurationAsync Error #53

MihailRom opened this issue Jan 3, 2024 · 1 comment

Comments

@MihailRom
Copy link

Hello!
Please, fix same values in OkxAccountConfiguration model class
https://github.com/burakoner/OKX.Api/blob/master/OKX.Api/Models/TradingAccount/OkxAccountConfiguration.cs

Properties
public OkxAccountRoleType? AccountRoleType { get; set; }
and
public OkxSpotCopyTradingRole? SpotCopyTradingRole { get; set; }
have similar value [JsonProperty("roleType")]

So, method GetAccountConfigurationAsync returns an error

@burakoner
Copy link
Owner

I've fixed this issue. Please check out Version 1.5.6 at f8b6ccc and https://www.nuget.org/packages/OKX.Api/1.5.6

Thank you for feedback. Have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants