Skip to content

Feature request: add support perps #8

@CRossel87a

Description

@CRossel87a

Hi,

Nice crate!

I was able to add perp support by adding an optional leverage field to the create order struct. The default leverage is 1.0 if left blank. This causes insufficient margin error.

Pulling perp portfolio also causes json deserialize error, but have not looked into the details.

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