Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
adf
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmincatalin committed Sep 29, 2022
1 parent 01fc273 commit 5738911
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Finance/.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
<tags>finance scraper</tags>
<dependencies>
<group>
<dependency id="CsvHelper" version="28.0.1" />
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="ServiceStack.Text" version="6.2.0" />
<dependency id="ServiceStack.Text" version="6.3.0" />
</group>
<group targetFramework="net6.0" />
</dependencies>
Expand Down
10 changes: 8 additions & 2 deletions demo.dib → notebooks/demo.dib
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,26 @@

#r "nuget: CosminSanda.Finance"
#r "nuget: ScottPlot"
#r "nuget: ScottPlot.DataGen"
#r "nuget: CsvHelper"
#r "nuget: ServiceStack.Text"

#!csharp

using System.Linq;
using CosminSanda.Finance;
using CosminSanda.Finance.Records;

#!csharp

var earnings = await EarningsCalendar.GetPastEarningsDates("TWTR");

#!csharp

earnings.TakeLast(4)
var lastDate = earnings.Last();

#!csharp

var quotes = await Quotes.GetQuotesAround("TWTR", lastDate, 3);

#!csharp

Expand Down

0 comments on commit 5738911

Please sign in to comment.