Skip to content

Support for /v2/options/contracts #286

@rhysawilliams2010

Description

@rhysawilliams2010

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

I would like to be able to fetch (strongly typed) option contracts via the alpaca client.
e.g.

const contracts = await alpaca.getOptions(["AAPL","TSLA"])

https://docs.alpaca.markets/docs/options-trading#fetch-contracts

At the moment the calls in rest_v2.ts all call /v1beta1/options/...

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions