Skip to content

Commit

Permalink
public method fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnyder-intrinio committed Oct 3, 2024
1 parent 9a365a9 commit 0ed9269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Intrinio.Realtime/CandleStick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void Merge(CandleStick candle)
Change = (Close - Open) / Open;
}

internal void Update(UInt32 volume, double price, double time)
public void Update(UInt32 volume, double price, double time)
{
Average = ((Convert.ToDouble(Volume) * Average) + (Convert.ToDouble(volume) * price)) / (Convert.ToDouble(Volume + volume));
Volume += volume;
Expand All @@ -94,12 +94,12 @@ internal void Update(UInt32 volume, double price, double time)
Change = (Close - Open) / Open;
}

internal void MarkComplete()
public void MarkComplete()
{
Complete = true;
}

internal void MarkIncomplete()
public void MarkIncomplete()
{
Complete = false;
}
Expand Down
2 changes: 1 addition & 1 deletion IntrinioRealTimeClient.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>IntrinioRealTimeClient</id>
<version>11.0.0</version>
<version>11.0.1</version>
<title>Intrinio SDK for Real-Time Stock and Option Prices</title>
<authors>Intrinio</authors>
<owners>Intrinio</owners>
Expand Down

0 comments on commit 0ed9269

Please sign in to comment.