Jump to content
  • 0

REST API: /positions/otc "MINIMUM_ORDER_SIZE_ERROR" (CFD-Order)


MichaelDE

Question

Hi,

I placed a CFD Market-Order via https://demo-api.ig.com/gateway/deal/positions/otc (POST) as follows:

{
"currencyCode": "EUR",
"dealReference": "TESTxy",
"direction": "BUY",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": "-",
"forceOpen": "False",
"guaranteedStop": "False",
"orderType": "MARKET",
"size": 0.5
}
I obtained the deal confirmation via https://demo-api.ig.com/gateway/deal/confirms/TESTxy (GET) as follows:
{
"date": "2021-11-24T10:16:31.629",
"status": null,
"reason": "MINIMUM_ORDER_SIZE_ERROR",
"dealStatus": "REJECTED",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": null,
"dealReference": "TESTxy",
"dealId": ...and so forth...
 
My question is: What is the MINIMUM_ORDER_SIZE?
Size 1.0 worked - is this the minimum?
 
Thanks
 
Link to comment

3 answers to this question

Recommended Posts

  • 1
12 minutes ago, MichaelDE said:

Hi,

I placed a CFD Market-Order via https://demo-api.ig.com/gateway/deal/positions/otc (POST) as follows:

{
"currencyCode": "EUR",
"dealReference": "TESTxy",
"direction": "BUY",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": "-",
"forceOpen": "False",
"guaranteedStop": "False",
"orderType": "MARKET",
"size": 0.5
}
I obtained the deal confirmation via https://demo-api.ig.com/gateway/deal/confirms/TESTxy (GET) as follows:
{
"date": "2021-11-24T10:16:31.629",
"status": null,
"reason": "MINIMUM_ORDER_SIZE_ERROR",
"dealStatus": "REJECTED",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": null,
"dealReference": "TESTxy",
"dealId": ...and so forth...
 
My question is: What is the MINIMUM_ORDER_SIZE?
Size 1.0 worked - is this the minimum?
 
Thanks
 

Hi Michael, 

Thanks for the query. 

Yes, 1 contract is the minimum size on Germany 40 demo. This is displayed on the deal ticket as illustrated below:

image.png 

All the best, 

Anda

  • Like 1
Link to comment
  • 0
17 hours ago, MichaelDE said:

Hi,

I placed a CFD Market-Order via https://demo-api.ig.com/gateway/deal/positions/otc (POST) as follows:

{
"currencyCode": "EUR",
"dealReference": "TESTxy",
"direction": "BUY",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": "-",
"forceOpen": "False",
"guaranteedStop": "False",
"orderType": "MARKET",
"size": 0.5
}
I obtained the deal confirmation via https://demo-api.ig.com/gateway/deal/confirms/TESTxy (GET) as follows:
{
"date": "2021-11-24T10:16:31.629",
"status": null,
"reason": "MINIMUM_ORDER_SIZE_ERROR",
"dealStatus": "REJECTED",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": null,
"dealReference": "TESTxy",
"dealId": ...and so forth...
 
My question is: What is the MINIMUM_ORDER_SIZE?
Size 1.0 worked - is this the minimum?
 
Thanks
 

In case that you want to automate the minimum size per market there is an endpoint for it.

https://labs.ig.com/rest-trading-api-reference/service-detail?id=594

The endpoint is /market/{epic}. It will give you the dealing rules for that market

Edited by jlz
  • Sad 1
Link to comment

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
  • General Statistics

    • Total Topics
      22,159
    • Total Posts
      93,072
    • Total Members
      42,560
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    RussM
    Joined 09/06/23 11:48
  • Posts

    • Greetings fellow traders, I am thrilled to share an exciting intraday trading idea for EURAUD that could potentially boost your profits. At Gold Signals by Professor, we have conducted a thorough technical analysis and confidently recommend a Buy position for traders like you. Our analysis indicates a significant development: EURAUD has managed to sustain itself above the crucial level of 1.60927. This breakthrough suggests a positive momentum, with potential targets at 1.61500 and 1.61800. To mitigate risks, we advise setting a stop loss around 1.60375. In order to maximize your trading success, it is vital to stay well-informed about the latest news and events that may impact the FX market. Factors such as global economic conditions, geopolitical tensions, and central bank policies can influence the price movements of EURAUD. Please note that the momentum of the trade can be influenced by unforeseen events or news. Therefore, we will be updating this level regularly in our channel to ensure you have access to the most recent trends and analysis of Gold and its trading potential. Wishing you all a prosperous day filled with successful trades!
    • Update - I am trying to transfer the existing Polymetal shares with IG.com to Wood & Co. Has anyone tried this or are in the process? You will need a bank account with bank in EU or Revolut bank app. The form for requesting transfer is on https://polymetal.wood.com/form/individuals
    • On this same topic, please, and following the example, where would I find the contract value for the May and June contracts? (in the context that at the time of the example the shorting was April) Thank you in advance.
×
×
  • Create New...