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

Post limit order error #3

@ruskinjanowski

Description

@ruskinjanowski

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.

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