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

message="PolyApiException[status_code=400, error_message={'error': 'order 0xxxx is invalid. Size (1.08) lower than the minimum: 5'}]" #301

@fkaragons

Description

@fkaragons

Hey guys I'm experimenting with a bot I coded so far it works and it can place orders im only using $1.05 per trade.

Most of them execute but sometimes some trades won't and I get this error saying the minimum is 5 shares. What Am I missing?
I've placed more than 140 positions that are 1.2 shares.
Here's the error:

[warning ] order failed message="PolyApiException[status_code=400, error_message={'error': 'order 0xc17b83864acf6c507dea8de12d0635876f5a7bf365d9bf442f2c4ae6f6b73f1e is invalid. Size (1.08) lower than the minimum: 5'}]"
Order failed: PolyApiException

Any help would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions