Why do I receive error: "The Quantity decimal places exceed the maximum allowed for the market."
on my demo account for the below new market order attempt? Is the Quantity of 0.35 too low?
Error Codes Received Status: 10 (Red Card)
StatusReason: 20 The Quantity decimal places exceed the maximum allowed for the market.
When I execute ...
URL: /order/newtradeorder
Body:
{
"BidPrice": 0.69041,
"Direction": "Buy",
"MarketId": "400617199",
"OfferPrice": 0.69064,
"PositionMethodId": 2,
"Quantity": 0.35,
"TradingAccountId": 403******,
"isTrade": true
}
Response:
{
"Status": 2,
"StatusReason": 75,
"OrderId": 0,
"Orders": [
{
"OrderId": 0,
"StatusReason": 20,
"Status": 10,
"OrderTypeId": 1,
"Price": 0.0,
"Quantity": 0.35,
"TriggerPrice": 0.0,
"CommissionCharge": 0.0,
"IfDone": [],
"GuaranteedPremium": 0.0,
"OCO": null,
"AssociatedOrders": {
"Stop": null,
"Limit": null
},
"Associated": false
}
],
"Quote": null,
"Actions": [],
"ErrorMessage": null
}