Skip to content

Commit

Permalink
Prepare release 7.0.5 of SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRa committed Mar 26, 2024
1 parent 4a8e58c commit 4059aff
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Alpaca.Markets/Alpaca.Markets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
</PropertyGroup>

<PropertyGroup>
<AssemblyVersion>7.0.4.0</AssemblyVersion>
<FileVersion>7.0.4.0</FileVersion>
<Version>7.0.4</Version>
<AssemblyVersion>7.0.5.0</AssemblyVersion>
<FileVersion>7.0.5.0</FileVersion>
<Version>7.0.5</Version>
</PropertyGroup>

<PropertyGroup>
<PackageReleaseNotes>
= The implementation of the `IAuction.Closings` and `IAuction.Openings` properties were marked as optional.
- The new enum value `AssetClass.UsOption` was added for supporting option contracts in the assets response.
</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
9 changes: 8 additions & 1 deletion Alpaca.Markets/Enums/AssetClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@ public enum AssetClass
/// </summary>
[UsedImplicitly]
[EnumMember(Value = "crypto")]
Crypto
Crypto,

/// <summary>
/// US option asset class.
/// </summary>
[UsedImplicitly]
[EnumMember(Value = "us_option")]
UsOption
}
2 changes: 2 additions & 0 deletions Alpaca.Markets/Helpers/OpenClose.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ internal OpenClose(
/// <summary>
/// Gets open time in EST time zone.
/// </summary>
// ReSharper disable once AutoPropertyCanBeMadeGetOnly.Global
public DateTimeOffset OpenEst { get; init; }

/// <summary>
/// Gets close time in EST time zone.
/// </summary>
// ReSharper disable once AutoPropertyCanBeMadeGetOnly.Global
public DateTimeOffset CloseEst { get; init; }

/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Alpaca.Markets/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Alpaca.Markets.AssetAttributes.Unknown = 0 -> Alpaca.Markets.AssetAttributes
Alpaca.Markets.AssetClass
Alpaca.Markets.AssetClass.Crypto = 1 -> Alpaca.Markets.AssetClass
Alpaca.Markets.AssetClass.UsEquity = 0 -> Alpaca.Markets.AssetClass
Alpaca.Markets.AssetClass.UsOption = 2 -> Alpaca.Markets.AssetClass
Alpaca.Markets.AssetsRequest
Alpaca.Markets.AssetsRequest.Attributes.get -> System.Collections.Generic.ISet<Alpaca.Markets.AssetAttributes>!
Alpaca.Markets.AssetsRequest.AssetClass.get -> Alpaca.Markets.AssetClass?
Expand Down

0 comments on commit 4059aff

Please sign in to comment.