Jump to content

Recommended Posts

Hi,
On python I am trying to to get all my wathclists WITH the market information for each item in a list.
In order to get the list of all my watchlist I use the following URL:

https://ciapi.cityindex.com/TradingAPI/watchlists
Which does return a list of wathclist dict.

 

When i try and have the market information included i use the following URL:
https://ciapi.cityindex.com/TradingAPI/watchlists?IncludeMarketInformation=True

Which does not return the market information for each items in my list.

Any what is wrong in my URL?
I use the following docs:
http://docs.labs.cityindex.com/#HTTP Services/GetWatchlists2.htm?Highlight=watchlist

http://docs.labs.cityindex.com/#Data Types/ListWatchlistRequestDTO.htm#kanchor1406
 

Thank you

Share this post


Link to post

Hello,

Good to see you already spotted the solution. Since you are POSTing the call, the parameter is added in the POST body instead of in the query string.

Kind Regards, PM

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
×