You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTX SERVER RETURNS:
"{Error response: [ServerError] 4002 The merged cross and isolated margin account for USDT-M futures is unavailable.Please complete the query with linear-swap-api/v3/unified_account_info received in 356ms}"
TO REPRODUCE:
HTXRestClient.SetDefaultOptions(options =>
{
options.ApiCredentials = new ApiCredentials(API_KEY, API_SECRET); // <- Provide you API key/secret in these fields to retrieve data related to your account,
});
Hi based on the response you have a Unified margin account instead of a seperate cross/isolated margin account. I see the unified account endpoints are not currently implemented, I'll add them in a futures version.
API CALL:
var response =
HTX SERVER RETURNS:
"{Error response: [ServerError] 4002 The merged cross and isolated margin account for USDT-M futures is unavailable.Please complete the query with linear-swap-api/v3/unified_account_info received in 356ms}"
TO REPRODUCE:
HTXRestClient.SetDefaultOptions(options =>
{
options.ApiCredentials = new ApiCredentials(API_KEY, API_SECRET); // <- Provide you API key/secret in these fields to retrieve data related to your account,
});
HTXRestClient restClient = new HTXRestClient();
var response =
The text was updated successfully, but these errors were encountered: