Jump to content

vkalgos

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by vkalgos

  1. Thank you for confirming the Epic is correct one.

    Please see the request I made with API companion just now. response comes back as status 200, but when I see in the list of transactions, it show the error msg. Please see the attached screenshots.

    here is the body content of the request

    {
        "epic": "IX.D.SPTRD.MONTH1.IP",
        "expiry": "DFB",
        "direction": "BUY",
        "size": "1",
        "level": "4474",
        "forceOpen": null,
        "type": "LIMIT",
        "currencyCode": "GBP",
        "timeInForce": "GOOD_TILL_CANCELLED",
        "goodTillDate": null,
        "guaranteedStop": "false",
        "stopLevel": null,
        "stopDistance": "8",
        "limitLevel": null,
        "limitDistance": "7"
    }

     

     

    Screenshot 2023-06-15 at 14.19.59.png

    Screenshot 2023-06-15 at 14.20.07.png

    Screenshot 2023-06-15 at 14.20.40.png

  2. I built a script to place order through the API, based on an algo.

    trying to use this

    epic = "IX.D.SPTRD.MONTH1.IP" # US (SPX) - Futures mini
     
    trying - is this correct?
     
    I can query the prices etc, but when I placed the order using the API, the response code is 200 but on the activity tab I see this error
    Rejected: Market not available online
     
     

    could someone help me please?

    For checking, I tried with another EPIC - - but again got an error, this is response code 400 and msg as "error.service.instrumentdata-invalid"

×
×
  • Create New...
us