Skip to content

order update info occasionally incorrect after a successful cancel_order(order, reduction_size) #509

@andrewl36

Description

@andrewl36

There seems to be an intermittent problem with the order executable update info after a successful partial cancel_order(order, reduction_size). Instead of the expected size_remaining and size_cancelled, the size_remaining is unchanged and size_cancelled is 0.

Recreate:

(Submit a Back bet price=1000.0, size=10.0)
(Once executable:)
reduce_size = 9.5
market.cancel_order(order, reduce_size)

subsequent order update shows executeable with size_remaining still 10.0 and size_cancelled is 0.

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