Jump to content
  • 1

API companion not letting me open orders on the FTSE


TheEdge

Question

Posted

Whilst working with my live account through the REST API on the API companion tool (and also with my own code in Excel), I encounter a problem when I try to create a new position with parameters below.

response   "errorCode":  "error.trading.otc.market-orders.not-supported-for-epic"

Any ideas on what I'm doing wrong or does it mean I can't POST (positions/otc) on the FTSE? 


    "epic": "OP.D.FTSE1.6750P.IP",
    "expiry": "MAR-23",
    "direction": "SELL",
    "size": "1",
    "orderType": "MARKET",
    "timeInForce": "FILL_OR_KILL",
    "level": null,
    "guaranteedStop": "false",
    "stopLevel": null,
    "stopDistance": null,
    "trailingStop": null,
    "trailingStopIncrement": null,
    "forceOpen": "false",
    "limitLevel": null,
    "limitDistance": null,
    "quoteId": null,
    "currencyCode": "GBP"
}

2 answers to this question

Recommended Posts

  • 0
Posted
15 minutes ago, TheEdge said:

Whilst working with my live account through the REST API on the API companion tool (and also with my own code in Excel), I encounter a problem when I try to create a new position with parameters below.

response   "errorCode":  "error.trading.otc.market-orders.not-supported-for-epic"

Any ideas on what I'm doing wrong or does it mean I can't POST (positions/otc) on the FTSE? 


    "epic": "OP.D.FTSE1.6750P.IP",
    "expiry": "MAR-23",
    "direction": "SELL",
    "size": "1",
    "orderType": "MARKET",
    "timeInForce": "FILL_OR_KILL",
    "level": null,
    "guaranteedStop": "false",
    "stopLevel": null,
    "stopDistance": null,
    "trailingStop": null,
    "trailingStopIncrement": null,
    "forceOpen": "false",
    "limitLevel": null,
    "limitDistance": null,
    "quoteId": null,
    "currencyCode": "GBP"
}

Hi @TheEdge

Thank you for reaching out. Please email webapisupport@ig.com for assistance. This team is created to help with all API queries. All the best, OfentseIG

  • 0
Posted

Did you resolve your issue

I have the same message when I m trying to close a forex option

{
    "dealId": "DIAAAAPEEEMF3AJ",
    "epic": null,
    "expiry": null,
    "direction": "SELL",
    "size": "1",
    "level": null,
    "orderType": "MARKET",
    "timeInForce": "EXECUTE_AND_ELIMINATE",
    "quoteId": null
}

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
  • image.png

  • Posts

    • Source: Coinpedia Markets About EARN’M Loyalty Ecosystem (EARN'M) $EARNM is the first deflationary MobileFi and DePIN ecosystem, revolutionizing mobile activity by offering scalable rewards through decentralized technology. The $EARNM token is the central utility of the EARN'M ecosystem, powering all its technologies and assets. It facilitates transactions, rewards, and engagement across the platform, enabling seamless integration between Web2 and Web3. • Asset Name: EARN’M Loyalty Ecosystem  • Ticker: EARN’M • Price: 1 EARN’M Token = 0.015 USDT • Total Supply : 5,000,000,000(3.68%) EARN’M What is EarnOS and EARN’M SmartWallet? EarnOS turns smartphones into "EarnPhones" by integrating Web2 rewards (like PayPal credits and gift cards) with Web3 rewards (such as Mystery Boxes and DropBoxes). It connects large apps, carriers, and device manufacturers with users, rewarding them for online activity. Together with the EARN’M SmartWallet, EarnOS bridges Web2 and Web3, allowing users to perform on-chain transactions using rewards derived from their attention. The system is powered by DePIN technology and Fractal Box Protocol, creating a balanced ecosystem that combines Web2 convenience with Web3 innovation, fostering global economic empowerment. How to Join EARN’M Launchpad: To join the EARN'M on Crypto Launchpad, follow these steps: Stake for Access: You will need to stake a specific amount of tokens to participate in the EARN'M Launchpad and get access to different investment tiers. Latest token sale: Join the latest crypto node sale event on 5 December 2024. Complete KYC: Before participating, make sure to complete the KYC (Know Your Customer) verification to ensure compliance. Participate in the Node Sale: If you are interested in earning rewards through SmartNodes, the sale for these nodes runs alongside other Launchpad activities, where rewards are distributed based on your node's involvement. Check Token Unlock Schedule: Keep track of the token release and vesting schedules, as some rewards will be unlocked over time. For example, 20% might be available at a token generation event (TGE), with the remaining 80% vested over a couple of years.   For further details about the EARNM Crypto sales, new listings of ICO’s, Crypto Launchpad calendar, and specific crypto Launchpad lists, you can visit CP Markets Crypto Launchpad.
    • Raydium's explosive growth in Solana's ecosystem, coupled with rising DeFi demand, signals potential for massive gains. Analysts predict the Raydium price channel between $8.27 and $39.07 making Raydium an attractive investment with significant upside potential till 2030. Experts also predict that Lunex Network (LNEX), Uniswap (UNI), and Raydium (RAY)will dominate the crypto market in 2025.  The world of decentralized finance (DeFi) is buzzing, with Raydium crypto taking center stage alongside Uniswap and Lunex Network. As Uniswap sets trading records and Lunex makes waves with its presale surge, Raydium is solidifying its dominance in the Solana ecosystem. Here’s why investors are eyeing Raydium price predictions and the latest Raydium crypto news for future gains.   Raydium’s Explosive Growth in Solana Raydium (RAY), the leading DEX on Solana reported a staggering $160 Million in trading volume. Expert predicts that the value of Raydium will increased by 250.59%, reaching $18.57 by end of 2026. the value of Raydium will increased by 250.59%, reaching $18.57 by end of 2026.With Raydium’s continued growth and Solana’s expanding influence, Raydium price predictions are bullish. Analysts anticipate significant gains through 2025, driven by the platform’s leadership in DeFi innovation and the broader demand for decentralized solutions. Raydium Price Prediction 2024, 2025, 2026 to 2030 Year Minimum Price Average Price Maximum Price 2024 $4.63 $10.99 $11.46 2025 $11.20 $12.89 $13.47 2026 $15.34 $18.08 $18.57 2027 $20.07 $22.92 $23.99 2028 $20.07 $22.92 $23.99 2029 $24.78 $27.63 $28.34 2030 $35.18 $38.48 $39.07 As the DeFi space heats up, Raydium price is capturing investor attention. With its explosive growth, bullish Raydium price predictions, and continued dominance in the Raydium crypto news, this DeFi giant is poised to deliver impressive gains through 2025. For the latest insights and updates on Raydium's future growth, including expert analysis and forecasts, check out this detailed Raydium price prediction guide.
    • I participated in X Empire & was given 16k+ of the coins amounting to < $1.I woke up one morning to discover it's now worth $2+ so i rushed to the chart studied it and invested with $35 at price of $0.000128, and made $24 extra the following day. I sold $24 worth of it & later found an additional $19 accumulating to $43 gain of which I invested in ADA, so I guess you know the rest of the story.    Similarly, DOGS (bought the dip prior to U.S elections) gave me some gains which in turn invested in XRP as well. MAJOR's was a different ball game cos I was able to get in early via Bitget's pre-market & upon listing it got lucky as well. GOATS might be my next lucky charm tho with patience, taking into cognizance the present situation of the market & the industry at large.
×
×
  • Create New...
us