question

Upvotes
Accepted
3 0 0 4

Send order failed: Orders My Not Be Placed

ORDER hOrder = new ORDER();
Object err = null;
Object result;

hOrder.Side = "Buy";
hOrder.Symbol = "A";
hOrder.Quantity = "1";
hOrder.PriceType = "Market";
hOrder.Exchange = "DEMO DMA";
hOrder.TIF = "Day";
hOrder.Price = "88.00";
hOrder.Ticket = "Bypass";
hOrder.Account = "DEMO";

result = hOrder.Submit(ref err);

System.Console.WriteLine(result + " " + err);
Console.ReadLine();

Using this c# code to try to place an order. I thought it should be relatively straightforward, but I'm getting an error saying "Send order failed: Orders My Not Be Placed"

redi-apidemo
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
23k 22 9 14

Hello @brian.p.coburn1,

We have just confirmed that Prophecy has a risk rule in place to block all orders. You will need to work with Prophecy to get the rule modified/changed.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thanks, we resolved this issue with Prophecy and can now issue orders.

Upvotes
3 0 0 4
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @brian.p.coburn1,

The demo route should be up till 8:30. I.e. available at 6:30pm.

Could you please run REDIPlus GUI, log in, and run the c# example, to submit an order, with the logged in account name used with REDIPlus GUI,

at this time,

to verify if the issue persists?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Yes, the issue still persists

Click below to post an Idea Post Idea