Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Details Portfolios data #55

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

bm64
Copy link
Member

@bm64 bm64 commented Nov 27, 2024

Add portfolios data converters to security details connector.

@pawelfus pawelfus added this to the Next milestone Nov 28, 2024
Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are failing

@bm64 bm64 requested a review from pawelfus November 29, 2024 09:03
Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing:

  • docs update (how to use it)
  • tests ?
  • API changes?
  • at least one demo/sample

Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+tests are failing

demos/stock-securitydetails-asset-allocations/demo.js Outdated Show resolved Hide resolved
demos/stock-securitydetails-asset-allocations/demo.js Outdated Show resolved Hide resolved
demos/stock-securitydetails-asset-allocations/demo.js Outdated Show resolved Hide resolved
security: {
id: 'F0GBR050DD',
idType: 'MSID'
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to specify type? Here in all other tests? Why the tests pass without it?

@pawelfus pawelfus requested a review from bre1470 December 6, 2024 12:11
@bm64 bm64 requested a review from pawelfus December 9, 2024 13:27
@bm64 bm64 self-assigned this Dec 11, 2024
Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Just a few minor bugs.

It seems the API ref does not describe the type correctly:

image

id: 'F0GBR050DD',
idType: 'MSID'
},
type: 'AssetAllocations' // Specify the type of data to retrieve
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong API option

id: securityId,
idType: 'ISIN'
},
type: 'AssetAllocations'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong API option, demo doesn't work

for (file of htmlInputFile.files) {
try {
fileJSON = JSON.parse(await file.text());
if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong path. Should be HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON

@bm64 bm64 requested a review from pawelfus December 11, 2024 16:07
Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants