Skip to content

Commit

Permalink
Prepare release 7.1.0-beta3 of SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRa committed Apr 26, 2024
1 parent c44e47b commit 238c834
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
14 changes: 7 additions & 7 deletions Alpaca.Markets/Alpaca.Markets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
</PropertyGroup>

<PropertyGroup>
<AssemblyVersion>7.1.0.1</AssemblyVersion>
<FileVersion>7.1.0.1</FileVersion>
<Version>7.1.0-beta2</Version>
<AssemblyVersion>7.1.0.2</AssemblyVersion>
<FileVersion>7.1.0.2</FileVersion>
<Version>7.1.0-beta3</Version>
</PropertyGroup>

<PropertyGroup>
<PackageReleaseNotes>
- The `OptionsContractRequest.UnderlyingSymbol` mandatory property was replaced with the `OptionsContractRequest.UnderlyingSymbols` optional property.
- The `IAlpacaTradingClient` interface was extended with the `ExerciseOptionsContractByIdAsync` and `ExerciseOptionsContractBySymbolAsync` methods.
- The `IAlpacaTradingClient.ListOptionContractAsync` method now uses a same pagination logic as historical data.
- The `OptionFeed` enum added and now it can be specified for latest/snapshot requests.
- Added support for the new portfolio history endpoint using the existing `IAlpacaTradingClient.GetPortfolioHistoryAsync` method.
- The `OptionChainRequest` class extended with new (optional) filtering properties and initial client-side validation.
- The new `OptionSnapshotRequest` class added and used for the `ListSnapshotsAsync` method (breaking change).
- The new `IOptionSnapshot` interface with Greeks and IV added and used instead of `ISnapshot` for options.
</PackageReleaseNotes>
<Description>C# SDK for Alpaca Trade API https://docs.alpaca.markets/</Description>
<RepositoryUrl>https://github.com/alpacahq/alpaca-trade-api-csharp</RepositoryUrl>
Expand Down
37 changes: 37 additions & 0 deletions Alpaca.Markets/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,11 @@ Alpaca.Markets.IAlpacaNewsStreamingClient
Alpaca.Markets.IAlpacaNewsStreamingClient.GetNewsSubscription() -> Alpaca.Markets.IAlpacaDataSubscription<Alpaca.Markets.INewsArticle!>!
Alpaca.Markets.IAlpacaNewsStreamingClient.GetNewsSubscription(string! symbol) -> Alpaca.Markets.IAlpacaDataSubscription<Alpaca.Markets.INewsArticle!>!
Alpaca.Markets.IAlpacaOptionsDataClient
Alpaca.Markets.IAlpacaOptionsDataClient.GetOptionChainAsync(Alpaca.Markets.OptionChainRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<Alpaca.Markets.IDictionaryPage<Alpaca.Markets.IOptionSnapshot!>!>!
Alpaca.Markets.IAlpacaOptionsDataClient.ListExchangesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string!, string!>!>!
Alpaca.Markets.IAlpacaOptionsDataClient.ListLatestQuotesAsync(Alpaca.Markets.LatestOptionsDataRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string!, Alpaca.Markets.IQuote!>!>!
Alpaca.Markets.IAlpacaOptionsDataClient.ListLatestTradesAsync(Alpaca.Markets.LatestOptionsDataRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string!, Alpaca.Markets.ITrade!>!>!
Alpaca.Markets.IAlpacaOptionsDataClient.ListSnapshotsAsync(Alpaca.Markets.OptionSnapshotRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<Alpaca.Markets.IDictionaryPage<Alpaca.Markets.IOptionSnapshot!>!>!
Alpaca.Markets.IAlpacaScreenerClient
Alpaca.Markets.IAlpacaScreenerClient.GetTopMarketMoversAsync(int? numberOfLosersAndGainersInResponse = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<Alpaca.Markets.IMarketMovers!>!
Alpaca.Markets.IAlpacaStreamingClient
Expand Down Expand Up @@ -606,6 +608,9 @@ Alpaca.Markets.IClock.TimestampUtc.get -> System.DateTime
Alpaca.Markets.ICorrection
Alpaca.Markets.ICorrection.CorrectedTrade.get -> Alpaca.Markets.ITrade!
Alpaca.Markets.ICorrection.OriginalTrade.get -> Alpaca.Markets.ITrade!
Alpaca.Markets.IDictionaryPage<TItem>
Alpaca.Markets.IDictionaryPage<TItem>.Items.get -> System.Collections.Generic.IReadOnlyDictionary<string!, TItem>!
Alpaca.Markets.IDictionaryPage<TItem>.NextPageToken.get -> string?
Alpaca.Markets.IEnvironment
Alpaca.Markets.IEnvironment.AlpacaCryptoStreamingApi.get -> System.Uri!
Alpaca.Markets.IEnvironment.AlpacaDataApi.get -> System.Uri!
Expand All @@ -621,6 +626,12 @@ Alpaca.Markets.IErrorInformation.OpenOrdersCount.get -> int?
Alpaca.Markets.IErrorInformation.Symbol.get -> string!
Alpaca.Markets.IExclusiveTimeInterval
Alpaca.Markets.IInclusiveTimeInterval
Alpaca.Markets.IGreeks
Alpaca.Markets.IGreeks.Delta.get -> decimal?
Alpaca.Markets.IGreeks.Gamma.get -> decimal?
Alpaca.Markets.IGreeks.Rho.get -> decimal?
Alpaca.Markets.IGreeks.Theta.get -> decimal?
Alpaca.Markets.IGreeks.Vega.get -> decimal?
Alpaca.Markets.IIntervalCalendar
Alpaca.Markets.IIntervalCalendar.Session.get -> Alpaca.Markets.OpenClose
Alpaca.Markets.IIntervalCalendar.Trading.get -> Alpaca.Markets.OpenClose
Expand Down Expand Up @@ -706,6 +717,12 @@ Alpaca.Markets.IOptionContract.StrikePrice.get -> decimal
Alpaca.Markets.IOptionContract.Symbol.get -> string!
Alpaca.Markets.IOptionContract.UnderlyingAssetId.get -> System.Guid
Alpaca.Markets.IOptionContract.UnderlyingSymbol.get -> string!
Alpaca.Markets.IOptionSnapshot
Alpaca.Markets.IOptionSnapshot.Greeks.get -> Alpaca.Markets.IGreeks?
Alpaca.Markets.IOptionSnapshot.ImpliedVolatility.get -> decimal?
Alpaca.Markets.IOptionSnapshot.Quote.get -> Alpaca.Markets.IQuote?
Alpaca.Markets.IOptionSnapshot.Symbol.get -> string!
Alpaca.Markets.IOptionSnapshot.Trade.get -> Alpaca.Markets.ITrade?
Alpaca.Markets.IOrder
Alpaca.Markets.IOrder.AssetClass.get -> Alpaca.Markets.AssetClass
Alpaca.Markets.IOrder.AssetId.get -> System.Guid
Expand Down Expand Up @@ -1030,9 +1047,24 @@ Alpaca.Markets.OpenClose.OpenEst.get -> System.DateTimeOffset
Alpaca.Markets.OpenClose.OpenEst.init -> void
Alpaca.Markets.OpenClose.ToInterval() -> Alpaca.Markets.Interval<System.DateTime>
Alpaca.Markets.OptionChainRequest
Alpaca.Markets.OptionChainRequest.ExpirationDateEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.ExpirationDateGreaterThanOrEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateGreaterThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.ExpirationDateLessThanOrEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateLessThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.OptionChainRequest(string! underlyingSymbol) -> void
Alpaca.Markets.OptionChainRequest.OptionsFeed.get -> Alpaca.Markets.OptionsFeed?
Alpaca.Markets.OptionChainRequest.OptionsFeed.set -> void
Alpaca.Markets.OptionChainRequest.OptionType.get -> Alpaca.Markets.OptionType?
Alpaca.Markets.OptionChainRequest.OptionType.set -> void
Alpaca.Markets.OptionChainRequest.Pagination.get -> Alpaca.Markets.Pagination!
Alpaca.Markets.OptionChainRequest.RootSymbol.get -> string?
Alpaca.Markets.OptionChainRequest.RootSymbol.set -> void
Alpaca.Markets.OptionChainRequest.StrikePriceGreaterThanOrEqualTo.get -> decimal?
Alpaca.Markets.OptionChainRequest.StrikePriceGreaterThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.StrikePriceLessThanOrEqualTo.get -> decimal?
Alpaca.Markets.OptionChainRequest.StrikePriceLessThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.UnderlyingSymbol.get -> string!
Alpaca.Markets.OptionContractsRequest
Alpaca.Markets.OptionContractsRequest.AssetStatus.get -> Alpaca.Markets.AssetStatus?
Expand Down Expand Up @@ -1065,6 +1097,11 @@ Alpaca.Markets.OptionsTradingLevel
Alpaca.Markets.OptionsTradingLevel.CoveredCallCashSecuredPut = 1 -> Alpaca.Markets.OptionsTradingLevel
Alpaca.Markets.OptionsTradingLevel.Disabled = 0 -> Alpaca.Markets.OptionsTradingLevel
Alpaca.Markets.OptionsTradingLevel.LongCallPut = 2 -> Alpaca.Markets.OptionsTradingLevel
Alpaca.Markets.OptionSnapshotRequest
Alpaca.Markets.OptionSnapshotRequest.OptionsFeed.get -> Alpaca.Markets.OptionsFeed?
Alpaca.Markets.OptionSnapshotRequest.OptionsFeed.set -> void
Alpaca.Markets.OptionSnapshotRequest.OptionSnapshotRequest(System.Collections.Generic.IEnumerable<string!>! symbols) -> void
Alpaca.Markets.OptionSnapshotRequest.Symbols.get -> System.Collections.Generic.IReadOnlyCollection<string!>!
Alpaca.Markets.OptionStyle
Alpaca.Markets.OptionStyle.American = 0 -> Alpaca.Markets.OptionStyle
Alpaca.Markets.OptionStyle.European = 1 -> Alpaca.Markets.OptionStyle
Expand Down
37 changes: 0 additions & 37 deletions Alpaca.Markets/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1 @@
#nullable enable
Alpaca.Markets.IAlpacaOptionsDataClient.GetOptionChainAsync(Alpaca.Markets.OptionChainRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<Alpaca.Markets.IDictionaryPage<Alpaca.Markets.IOptionSnapshot!>!>!
Alpaca.Markets.IAlpacaOptionsDataClient.ListSnapshotsAsync(Alpaca.Markets.OptionSnapshotRequest! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task<Alpaca.Markets.IDictionaryPage<Alpaca.Markets.IOptionSnapshot!>!>!
Alpaca.Markets.IDictionaryPage<TItem>
Alpaca.Markets.IDictionaryPage<TItem>.Items.get -> System.Collections.Generic.IReadOnlyDictionary<string!, TItem>!
Alpaca.Markets.IDictionaryPage<TItem>.NextPageToken.get -> string?
Alpaca.Markets.IGreeks
Alpaca.Markets.IGreeks.Delta.get -> decimal?
Alpaca.Markets.IGreeks.Gamma.get -> decimal?
Alpaca.Markets.IGreeks.Rho.get -> decimal?
Alpaca.Markets.IGreeks.Theta.get -> decimal?
Alpaca.Markets.IGreeks.Vega.get -> decimal?
Alpaca.Markets.IOptionSnapshot
Alpaca.Markets.IOptionSnapshot.Greeks.get -> Alpaca.Markets.IGreeks?
Alpaca.Markets.IOptionSnapshot.ImpliedVolatility.get -> decimal?
Alpaca.Markets.IOptionSnapshot.Quote.get -> Alpaca.Markets.IQuote?
Alpaca.Markets.IOptionSnapshot.Symbol.get -> string!
Alpaca.Markets.IOptionSnapshot.Trade.get -> Alpaca.Markets.ITrade?
Alpaca.Markets.OptionChainRequest.ExpirationDateEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.ExpirationDateGreaterThanOrEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateGreaterThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.ExpirationDateLessThanOrEqualTo.get -> System.DateOnly?
Alpaca.Markets.OptionChainRequest.ExpirationDateLessThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.OptionType.get -> Alpaca.Markets.OptionType?
Alpaca.Markets.OptionChainRequest.OptionType.set -> void
Alpaca.Markets.OptionChainRequest.Pagination.get -> Alpaca.Markets.Pagination!
Alpaca.Markets.OptionChainRequest.RootSymbol.get -> string?
Alpaca.Markets.OptionChainRequest.RootSymbol.set -> void
Alpaca.Markets.OptionChainRequest.StrikePriceGreaterThanOrEqualTo.get -> decimal?
Alpaca.Markets.OptionChainRequest.StrikePriceGreaterThanOrEqualTo.set -> void
Alpaca.Markets.OptionChainRequest.StrikePriceLessThanOrEqualTo.get -> decimal?
Alpaca.Markets.OptionChainRequest.StrikePriceLessThanOrEqualTo.set -> void
Alpaca.Markets.OptionSnapshotRequest
Alpaca.Markets.OptionSnapshotRequest.OptionsFeed.get -> Alpaca.Markets.OptionsFeed?
Alpaca.Markets.OptionSnapshotRequest.OptionsFeed.set -> void
Alpaca.Markets.OptionSnapshotRequest.OptionSnapshotRequest(System.Collections.Generic.IEnumerable<string!>! symbols) -> void
Alpaca.Markets.OptionSnapshotRequest.Symbols.get -> System.Collections.Generic.IReadOnlyCollection<string!>!

0 comments on commit 238c834

Please sign in to comment.