Portfolio software fetches prices from Credit Suisse website.
An http request should be enough as explained in source code comments here
This class provides a feed for Credit Suisse Quotes. Probably all quotes provided by Credit Suisse can be downloaded but it is only tested with Credit Suisse institutional funds which are normally not offered to the general public except in special scenarios like via the Swiss third pillar provider VIAC (third pillar = “Säule 3a”, a tax-exempt retirement saving scheme). The challenge of downloading these quotes are: 1) there is a HTML page where the user has to state his/her country of residence plus investor status (private, professional). This page can be avoided by using “curl” as user agent. - there are header titles that are specific to Credit Suisse and 2) Credit Suisse returns the quotes with Excel mime-type which are in fact HTML tables but would be converted upon opening Excel. This is a little bit of a hack on CS’ part.