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

Update OpenClose.cs - make constructor public #735

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Alpaca.Markets/Helpers/OpenClose.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ internal OpenClose(
/// <summary>
/// Gets open time in EST time zone.
/// </summary>
public DateTimeOffset OpenEst { get; }
public DateTimeOffset OpenEst { get; init; }

/// <summary>
/// Gets close time in EST time zone.
/// </summary>
public DateTimeOffset CloseEst { get; }
public DateTimeOffset CloseEst { get; init; }

/// <summary>
/// Gets session open and close time as <see cref="Interval{DateTime}"/> instance with UTC times.
Expand Down
2 changes: 2 additions & 0 deletions Alpaca.Markets/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,10 @@ Alpaca.Markets.OneCancelsOtherOrder.StopLoss.get -> Alpaca.Markets.IStopLoss!
Alpaca.Markets.OneCancelsOtherOrder.TakeProfit.get -> Alpaca.Markets.ITakeProfit!
Alpaca.Markets.OpenClose
Alpaca.Markets.OpenClose.CloseEst.get -> System.DateTimeOffset
Alpaca.Markets.OpenClose.CloseEst.init -> void
Alpaca.Markets.OpenClose.OpenClose() -> void
Alpaca.Markets.OpenClose.OpenEst.get -> System.DateTimeOffset
Alpaca.Markets.OpenClose.OpenEst.init -> void
Alpaca.Markets.OpenClose.ToInterval() -> Alpaca.Markets.Interval<System.DateTime>
Alpaca.Markets.OptionContractsRequest
Alpaca.Markets.OptionContractsRequest.AssetStatus.get -> Alpaca.Markets.AssetStatus?
Expand Down