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

  • Posts

    • If the current challenges facing blockchain including speed, performance and so on, are effectively tackled, then blockchain adoption would have been fastened. Working towards that is Saakuru Protocol, a Layer 2 protocol designed to eliminate transaction fees, using the OP Stack for seamless application integration.  Saakuru Protocol facilitates over 1.4 million weekly transactions, which makes it among the top 20 public blockchains due to its gasless transactions and rapid block times. The Saakuru blockchain posseses a user-friendly interface and gasless transaction that make it an ideal gateway for Web3 adoption. All the dApp on Saakuru offers a secure, fee-free platform for users to access blockchain applications, and close up the gap between Web2 and Web3. In addition to some of its core features like Saakuru wallet, Saakuru Developer Suite, its native token $SKR stands at the base of everything it’s set out to achieve and already launched on Bitget with a good price trend. What’s your bias on this fast growing chain?
    • I would second this for more US options availability. 
    • Hi,   I was on the lookout for a forex foundation course and have found quite a comprehensive course, from Godlove University.    It covers everything from Risk and Money Management to Advanced Trading Strategies.   Does anyone know of a course that covers all of the above aspects and that is taught by an actual trader, such as in the case of Godlove University?   Thanks in advance.
×
×
  • Create New...
us