Skip to content

Open position structure seems to have changed #10

Description

@Napalmpje

I believe the post method for Open Position has changed.

This is what works for me now in C# (example code):
var data = new
{
productId = "sb26497",
investingAmount = new { currency = "BUX, decimals = 2, amount = 100},
leverage = 20,
direction = "BUY",
};
var result = await client.PostAsync(url, data.AsJson()).ConfigureAwait(false);

You can probably translate it to node.js

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