Skip to content

Kraken Api, place order #89

Open
Open
@hammerjoe

Description

@hammerjoe

I am trying to create a limit order but I am getting the error EGeneral:Invalid arguments:ordertype and I cant figure it out.

This is the code to make the call
Dim Params as Dictionary
Order_Type = "limit"
Trade_Type = "sell"
new_volume_pair = 0.01
Params.Add "apiKey", Apikey
Params.Add "secretKey", secretKey
Params.Add "ordertype", Order_Type
Params.Add "type", Trade_Type
Params.Add "volume", new_volume_pair
Params.Add "price", token_price
response = PrivateKraken("AddOrder", "POST", Params)

What am I getting the error about the ordertype??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions