{"action":"created","issue":{"url":"https://api.github.com/repos/fundapps/api-examples/issues/7","repository_url":"https://api.github.com/repos/fundapps/api-examples","labels_url":"https://api.github.com/repos/fundapps/api-examples/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/fundapps/api-examples/issues/7/comments","events_url":"https://api.github.com/repos/fundapps/api-examples/issues/7/events","html_url":"https://github.com/fundapps/api-examples/pull/7","id":134590850,"number":7,"title":"Sample XML","user":{"login":"Ben-Richards","id":13979386,"avatar_url":"https://avatars.githubusercontent.com/u/13979386?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben-Richards","html_url":"https://github.com/Ben-Richards","followers_url":"https://api.github.com/users/Ben-Richards/followers","following_url":"https://api.github.com/users/Ben-Richards/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Richards/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Richards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Richards/subscriptions","organizations_url":"https://api.github.com/users/Ben-Richards/orgs","repos_url":"https://api.github.com/users/Ben-Richards/repos","events_url":"https://api.github.com/users/Ben-Richards/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Richards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-18T14:11:53Z","updated_at":"2016-02-18T17:02:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fundapps/api-examples/pulls/7","html_url":"https://github.com/fundapps/api-examples/pull/7","diff_url":"https://github.com/fundapps/api-examples/pull/7.diff","patch_url":"https://github.com/fundapps/api-examples/pull/7.patch"},"body":"Our option on index xml did not have a price, nor currency on the Index.  The equity in single fund xml flagged an error in our xsd because the first line had a blank :)"},"comment":{"url":"https://api.github.com/repos/fundapps/api-examples/issues/comments/185816243","html_url":"https://github.com/fundapps/api-examples/pull/7#issuecomment-185816243","issue_url":"https://api.github.com/repos/fundapps/api-examples/issues/7","id":185816243,"user":{"login":"Ben-Richards","id":13979386,"avatar_url":"https://avatars.githubusercontent.com/u/13979386?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben-Richards","html_url":"https://github.com/Ben-Richards","followers_url":"https://api.github.com/users/Ben-Richards/followers","following_url":"https://api.github.com/users/Ben-Richards/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Richards/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Richards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Richards/subscriptions","organizations_url":"https://api.github.com/users/Ben-Richards/orgs","repos_url":"https://api.github.com/users/Ben-Richards/repos","events_url":"https://api.github.com/users/Ben-Richards/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Richards/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T17:02:29Z","updated_at":"2016-02-18T17:02:29Z","body":"At the moment, if we do not provide a currency for the index then the holding instrument, in this case the option does not use the price of the UL when calculating it's equivalent value in USD, instead it just uses the price of the Option, which isn't correct. Looks at  When the instrument (Index in this case) does not have a base currency, then our conversion into USD does not work, see PriceInUSD: (ConvertCurrency(Price, InstrumentCurrency, 'USD'))\r\n\r\nThe question is, and this doesn't happen at the moment, can the currency of the holding instrument be inherited by the Index? So the index doesn't technically have a currency but the way Rapptr operates, it requires it to do so when doing currency conversions into USD."}}