Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Post limit order error #3

Open
ruskinjanowski opened this issue Jun 4, 2018 · 0 comments
Open

Post limit order error #3

ruskinjanowski opened this issue Jun 4, 2018 · 0 comments

Comments

@ruskinjanowski
Copy link

When calling
luno.postLimitOrder("XBTZAR", OrderType.BID, new BigDecimal(0.001), new BigDecimal(100_000), null, null);
it returns error: invalid volume.

The reason for this might be that the String generated by the BigDecimal is too long. Changing the argument types to String instead of BigDecimal however fixes the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant