Jump to content

Recommended Posts

Hi

I am receiving a yellow card on my API trades

order status 8

statusreason 140 "Watch list client"

What does this mean? I can see there is also 3 other statusreason codes with the same description.

regards

 

Share this post


Link to post

Here is an example json of what i send


{"OcoOrder": null, "ExpiryDateTimeUTC": null, "Direction": "buy", "BidPrice": 13187.9, "MarketId": "99502", "OfferPrice": 13188.9, "Quantity": 1, "PositionMethodId": 2, "PriceTolerance": 1, "IfDone": [{"Stop": {"TriggerPrice": 13173.0, "Direction": "sell", "MarketId": "99502", "Quantity": 1}, "Limit": {"TriggerPrice": 13288.4, "Direction": "sell", "MarketId": "99502", "Quantity": 1}}]}


And here is what i receive


{'Status': 3, 'StatusReason': 95, 'OrderId': 782250860, 'Orders': [{'OrderId': 782250860, 'StatusReason': 140, 'Status': 8, 'OrderTypeId': 1, 'Price': 13188.9, 'Quantity': 1.0, 'TriggerPrice': 0.0, 'CommissionCharge': 0.0, 'IfDone': [{'Stop': {'OrderId': 782250862, 'StatusReason': 1, 'Status': 1, 'OrderTypeId': 2, 'Price': 0.0, 'Quantity': 1.0, 'TriggerPrice': 13173.0, 'CommissionCharge': 0.0, 'IfDone': [], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}, 'Limit': {'OrderId': 782250861, 'StatusReason': 1, 'Status': 1, 'OrderTypeId': 3, 'Price': 0.0, 'Quantity': 1.0, 'TriggerPrice': 13288.4, 'CommissionCharge': 0.0, 'IfDone': [], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}}], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}], 'Quote': None, 'Actions': [{'ActionedOrderId': 0, 'ActioningOrderId': 0, 'Quantity': 1.0, 'ProfitAndLoss': 0.0, 'ProfitAndLossCurrency': None, 'OrderActionTypeId': 1}], 'ErrorMessage': None}
{'Status': 3, 'StatusReason': 95, 'OrderId': 782250860, 'Orders': [{'OrderId': 782250860, 'StatusReason': 140, 'Status': 8, 'OrderTypeId': 1, 'Price': 13188.9, 'Quantity': 1.0, 'TriggerPrice': 0.0, 'CommissionCharge': 0.0, 'IfDone': [{'Stop': {'OrderId': 782250862, 'StatusReason': 1, 'Status': 1, 'OrderTypeId': 2, 'Price': 0.0, 'Quantity': 1.0, 'TriggerPrice': 13173.0, 'CommissionCharge': 0.0, 'IfDone': [], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}, 'Limit': {'OrderId': 782250861, 'StatusReason': 1, 'Status': 1, 'OrderTypeId': 3, 'Price': 0.0, 'Quantity': 1.0, 'TriggerPrice': 13288.4, 'CommissionCharge': 0.0, 'IfDone': [], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}}], 'GuaranteedPremium': 0.0, 'OCO': None, 'AssociatedOrders': {'Stop': None, 'Limit': None}, 'Associated': False}], 'Quote': None, 'Actions': [{'ActionedOrderId': 0, 'ActioningOrderId': 0, 'Quantity': 1.0, 'ProfitAndLoss': 0.0, 'ProfitAndLossCurrency': None, 'OrderActionTypeId': 1}], 'ErrorMessage': None}

Share this post


Link to post

Hi Brutsi,

Are you using a demo / test account or is it your live real money account? The "Watch List Client" message means that restrictions have been placed on the account, which does not normally happen with test accounts. 

I do not have access to client account information so cannot check the reason why there are restrictions on the account. Please contact Client Services who do have access to account information.

Kind Regards, PM

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×