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

QuoteSummaryResult #860

Open
crosswi opened this issue Jan 10, 2025 · 0 comments
Open

QuoteSummaryResult #860

crosswi opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working validation Issues related to validation

Comments

@crosswi
Copy link

crosswi commented Jan 10, 2025

Validation Error

Minimal Reproduction

Symbol(s) that it happened for

  • AAPL
  • GOOGL
  • MSFT

Error Message

{
  "type": 45,
  "schema": {
    "title": "YahooNumber",
    "anyOf": [
      {
        "title": "RawNumber",
        "type": "object",
        "properties": {
          "raw": {
            "type": "number"
          }
        },
        "required": [
          "raw"
        ]
      },
      {
        "type": "number"
      }
    ]
  },
  "path": "/indexTrend/peRatio",
  "message": "Expected required property"
}

Environment

Browser or Node: node
Node version (if applicable): 20.0.1
Npm version: Using yarn
Browser version (if applicable):
Library version (e.g. 1.10.1):

Additional Context

Request used:

const quoteSummary = this.yahooFinance.quoteSummary(stockId, {
    modules: [
	"summaryDetail",
	"indexTrend",
	"financialData",
	"earnings",
	"earningsHistory",
        "defaultKeyStatistics"
    ]
});
@crosswi crosswi added bug Something isn't working validation Issues related to validation labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validation Issues related to validation
Projects
None yet
Development

No branches or pull requests

1 participant