Skip to content

addOrderStatus Unhandled Exception #44

@AlexCatarino

Description

@AlexCatarino

Expected Behavior

No unhandled exception.

Actual Behavior

2024-02-26T17:21:00.2349245Z ERROR:: Brokerage.OnMessage(): Error - Code: -1 - Error addOrderStatus event. Message: EGeneral:Invalid arguments:volume. Order: OrderId: 1 (BrokerId: ) New Market order for -0.00883694 units of ETHUSD
2024-02-26T17:21:00.2350262Z TRACE:: CloudLiveTradingResultHandler.BrokerageMessage(): Error - Code: -1 - Error addOrderStatus event. Message: EGeneral:Invalid arguments:volume. Order: OrderId: 1 (BrokerId: ) New Market order for -0.00883694 units of ETHUSD - Brokerage: KrakenBrokerage
2024-02-26T17:21:00.2460551Z ERROR:: Extensions.SetRuntimeError(): Extensions.SetRuntimeError(): RuntimeError at 02/26/2024 17:21:00 UTC. Context: Brokerage Error System.Exception: Error addOrderStatus event. Message: EGeneral:Invalid arguments:volume. Order: OrderId: 1 (BrokerId: ) New Market order for -0.00883694 units of ETHUSD

EGeneral:Invalid arguments:volume appears to be a serialization problem.

Reproducing the Problem

Live algorithm with open ETHUSD and tries to close it.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions