Jump to content

Brutsi

Members
  • Content count

    7
  • Joined

  • Last visited

  • Days Won

    1
  1. Its my real money account. Thanks for the help regards
  2. 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}
  3. 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
×