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

forex.sma(symbol, queryOptions); returns nothing #204

Open
lhviet opened this issue Nov 9, 2024 · 0 comments
Open

forex.sma(symbol, queryOptions); returns nothing #204

lhviet opened this issue Nov 9, 2024 · 0 comments

Comments

@lhviet
Copy link

lhviet commented Nov 9, 2024

Checking the network, I see values returned from the request.
https://api.polygon.io/v1/indicators/sma/C:XAUUSD?limit=5000&timespan=minute&timestamp.gte=2024-11-06&window=5

However, the js client returns an empty results.
const resp = await polygonRestClient.forex.sma(symbol, queryOptions); returns nothing

This is the output in my console.

{
    "results": [],
    "status": "OK",
    "request_id": "09fd5a985a976db593d07069cec45631",
    "count": 0,
    "next_url": null
}

Note: I'm a Forex subscribed user. This is bad.

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

No branches or pull requests

1 participant