Jump to content
Sign in to follow this  
Vincent

ApiStopLimitOrderDTO "Applicability"

Recommended Posts

Hi,

 

When I am creating a open position with a stop and a limit using this API:

 

http://docs.labs.cityindex.com/#HTTP%20Services/Trade.htm%3FTocPath%3DCIAPI%2520Reference|HTTP%2520Services|Trades%2520and%2520Orders|_____12

 

What value should I use for ApiStopLimitOrderDTO.Applicability (http://docs.labs.cityindex.com/#Data%20Types/ApiStopLimitOrderDTO.htm) property? I have tried to pass in value like "GoodForDay (GFD)" and it still create a open position with "GoodTillCancelled" stop and limit.

 

Thanks.

Share this post


Link to post

Hi Vincent,

 

I've made a note to have the API documentation updated. The actual values you use in the Applicability property are:

 

GFD

GTD

GTC

 

Thanks for bringing this to our attention!  :)

Share this post


Link to post

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
Sign in to follow this  
×