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

Add support for the options trading #719

Closed
3 tasks done
OlegRa opened this issue Jan 24, 2024 · 0 comments
Closed
3 tasks done

Add support for the options trading #719

OlegRa opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@OlegRa
Copy link
Collaborator

OlegRa commented Jan 24, 2024

The Python SDK introduced options trading support in a series of PRs. The .NET SDK should also support this feature. The minimal support level includes:

  • The new option_approved_level and option_trading_level fields in the account (see #402 for details)
  • The new max_option_trading_level field in the account configuration (see #403 for details)
  • The new us_option asset type (see #404 for details) support

This support should be added to the 7.x version of SDK, so it would probably be the 7.1.0 version.

@OlegRa OlegRa added the enhancement New feature or request label Jan 24, 2024
@OlegRa OlegRa added this to the SDK 7.x LTS milestone Jan 24, 2024
@OlegRa OlegRa self-assigned this Jan 24, 2024
OlegRa added a commit that referenced this issue Feb 17, 2024
- Added the new `IAccount.OptionApprovedLevel` and `IAccount.OptionTradingLevel` properties
- Added the new `IAccountConfiguration.MaxOptionTradingLevel` property.
- Added the new 'AssetType.UsOption` enumeration member.
- Added the new 'OptionTradingLevel` enumeration.
OlegRa added a commit that referenced this issue Mar 1, 2024
- Added the new `IOptionContract` interface and two related enums: `OptionType` and `OptionStyle`.
- Added the new `IAlpacaTradingClient.ListOptionContractsAsync` method and related `OptionContractsRequest` class.
- Added the new `IAlpacaTradingClient.GetOptionContractByidAsync` and `IAlpacaTradingClient.GetOptionContractBySymbolAsync` methods.
OlegRa added a commit that referenced this issue Mar 9, 2024
- Added the new `IOptionContract` interface and two related enums: `OptionType` and `OptionStyle`.
- Added the new `IAlpacaTradingClient.ListOptionContractsAsync` method and related `OptionContractsRequest` class.
- Added the new `IAlpacaTradingClient.GetOptionContractByidAsync` and `IAlpacaTradingClient.GetOptionContractBySymbolAsync` methods.
- Added the new `IAccount.OptionApprovedLevel` and `IAccount.OptionTradingLevel` properties
- Added the new `IAccountConfiguration.MaxOptionTradingLevel` property.
- Added the new 'AssetType.UsOption` enumeration member.
- Added the new 'OptionTradingLevel` enumeration.

(cherry picked from commit b24f8c0)
(cherry picked from commit ea73dab)
(cherry picked from commit 684a86d)

Issue #719 - Added unit tests for the new functions/objects.

(cherry picked from commit 653567d)
@OlegRa OlegRa closed this as completed Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant