Skip to content

Noobie doubt #144

Description

@zetag33

I'm trying to place an order like this:

trade_client = TradeClient(api_key=acces_key, secret_key=secret_key)
order_id = trade_client.create_order(symbol=symbol, account_id=*********, order_type=OrderType.BUY_MARKET, source=OrderSource.API, amount=volume, price=price)

and i'm getting this error:
raise HuobiApiException(HuobiApiException.EXEC_ERROR,
huobi.exception.huobi_api_exception.HuobiApiException: ('ExecuteError', '[Executing] account-get-accounts-inexistent-error: account for type ********* and user id ********* does not exist')

The account_id is an integer that I have taken from my huobi account profile that appears as UID under the email of the account. It's a 9 digit number and as said its displayed on your profile in the huobi webpage.
I'm entering the account_id without errors and as an integer, I have created the account today and verified it, I keep getting the error, does anyone know how could I solve it?

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions