We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
You have some market data endpoints that point to /v1beta1/, for example:
/v1beta1/
typescript-sdk/api/marketData.ts
Lines 472 to 479 in ea0deb6
Also I think that setting the baseURL manually is needed in client init for the domain to be correct, eg:
import { createClient } from '@alpacahq/typescript-sdk' this.client = createClient({ key, secret, paper: true, baseURL: 'https://data.alpaca.markets' })
See:
typescript-sdk/factory/createClient.ts
Line 57 in ea0deb6
In my tests, this produces the following error:
{ "message": "endpoint not found." }
When we change it to /v2/, it works, as shown here:
/v2/
Is this a mistake, or am I missing something?
This issue might be related too: #5
Thanks!
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
You have some market data endpoints that point to
/v1beta1/
, for example:typescript-sdk/api/marketData.ts
Lines 472 to 479 in ea0deb6
Also I think that setting the baseURL manually is needed in client init for the domain to be correct, eg:
See:
typescript-sdk/factory/createClient.ts
Line 57 in ea0deb6
This is not mentioned anywhere I believe.
In my tests, this produces the following error:
When we change it to
/v2/
, it works, as shown here:Is this a mistake, or am I missing something?
This issue might be related too: #5
Thanks!
The text was updated successfully, but these errors were encountered: