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
      19,044
    • Total Posts
      85,809
    • Total Members
      68,256
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    DawnCh
    Joined 04/07/22 03:32
  • Posts

    • If we could get some news about negotations and a possible ceasefire in Ukraine then i would say this is the bottom https://edition.cnn.com/markets/fear-and-greed "That indicator previously fell to 0 in August 2002, July 2008, September 2011, September 2015, January 2016 and March 2020, observed Hartnett. When it has previously zeroed out, except in the case of a double-dip recession such as 2002 or in the event of systemic events, as in 2008 and 2011, three-month returns have been strong, as the table below shows." https://www.marketwatch.com/story/based-on-history-the-next-bull-market-is-just-months-away-and-could-take-the-s-p-500-to-6000-says-bofa-11655475414
    • The CME Bitcoin futures BTC main contract was at $19,370 late Friday (Chinese time) in New York, up 3.25% from Thursday's New York session, and trading in the $18,630-20,790 range during the session, down 8.87% for the week. the CME Ethereum futures DCR main contract was at $1065.50, up 5.08% from Thursday, and trading in the 1009.50-$1118.00 range, down 13.02% for the week.Maybe there is still a possibility of decline.
×
×
  • Create New...