Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there,
As a fix to #245 issue and by extension to every sources which is not Yahoo! source, I propose this MR.
Looks like the holdings appear only in Yahoo! source because the key to look-for "holdings" in yaml-config-file variables is based on Symbol.
In Yahoo! source, the symbol is the id and Yahoo! API returns the same value as symbol. This is different with the other source where the symbol id to search on the API could be "cardona" and the symbol "ADA" (which is different to CARDONA.CG).
As proposed solution, I had an "Id" into AssetQuote as an equivalent to the "Symbol" value in Yaml config file and I provisioned this value from the "Symbol" declaration into the config file (I used a new c.Symbol type with "id" and "name").
I hope it could help to fix this issue.