Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 21:09:30 +0000



Post From: LMAX: EXPOSURE_CHECK_FAILURE

[2015-01-23 11:18:57]
galmasi80 - Posts: 2
Dear Support!

I'm using the following code-snippet to make a buy order:

double price = some_func_here();

s_SCNewOrder main_order;
main_order.OrderType = SCT_ORDERTYPE_LIMIT;
main_order.TimeInForce = SCT_TIF_GTC;
main_order.OrderQuantity = 600;
main_order.Price1 = price;
main_order.TextTag = "Main order (position open)";
  
int r = sc.BuyEntry(main_order);

The call to BuyEntry succeeds, however in the Trade Service Log, sometimes I get the following message:

Trade Order Error - LMAX order update (Rejected). Info: EXPOSURE_CHECK_FAILURE. Internal Order ID: 6287. Service Order ID: (none). Symbol: GBPUSD

What's the meaning of the error message "EXPOSURE_CHECK_FAILURE"?

Best regards.