libbux icon indicating copy to clipboard operation
libbux copied to clipboard

Open position structure seems to have changed

Open Napalmpje opened this issue 7 years ago • 0 comments

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

Napalmpje avatar Dec 01 '18 11:12 Napalmpje