Greetings all,
When using the API (https://api.portfolio123.com:8443/docs/index.html#/Strategy/_details) I can get the current holdings of a live strategy.
However, the ‘holdings’ dictionary that I receive via the api doesn’t contain the exchanges that the company is listed on. This can create some problems.
For example, for American Shared Hospital Services
https://www.portfolio123.com/app/stock?tab=issues&t=AMS:USA, the exchange is the NYSE.
However, just using the ticker ‘AMS’ could lead you to buy https://www.portfolio123.com/app/stock?tab=issues&t=AMS:CHE.
Currently, I use a sort of work-around. The API actually gives the ticker ‘AMS:USA’. So that way at least I know that I should probably buy the company on an American exchange. However, this is not as precise as I would like it to be.
Also, the holdings dictionary contains a variable with abbriviation ‘mktUid’. Could someone tell me what this stands for? Probably something very obvious, but I couldn’t figure it out just of yet.
Kind regards,
Victor