From 3193495c5c9904b8f436e1ee5fe8f7133cffdea7 Mon Sep 17 00:00:00 2001 From: Matthias Beerens <3512339+Matthiee@users.noreply.github.com> Date: Sun, 10 Jul 2022 07:41:48 +0200 Subject: [PATCH] Use MinVer for Nuget Package versioning (#44) * Add MinVer * Use MinVer to generate correct package versions fixes #42 * Bump fetch v3 * Use correct symbol --- .github/workflows/dotnet.yml | 4 +- .../FinancialModelingPrepApi.csproj | 88 ++++++++++--------- .../FinancialModelingPrepApi.xml | 10 +++ .../CompanyValuation/CompanyValuationTests.cs | 2 +- 4 files changed, 62 insertions(+), 42 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 75e80fe..52b5afc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -12,7 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v1 with: diff --git a/FinancialModelingPrepApi/FinancialModelingPrepApi.csproj b/FinancialModelingPrepApi/FinancialModelingPrepApi.csproj index 7b3b567..bcea8f6 100644 --- a/FinancialModelingPrepApi/FinancialModelingPrepApi.csproj +++ b/FinancialModelingPrepApi/FinancialModelingPrepApi.csproj @@ -1,46 +1,54 @@ - + - - net5.0 - MatthiWare.FinancialModelingPrep - true - true - 0.1.12.0 - 0.1.12.0 - MatthiWare - MatthiWare.FinancialModelingPrep - 0.1.12 - FinancialModelingPrep API Client written in .NET 5 - Copyright Matthias Beerens 2021 - FinancialModelingPrep API Client - Matthias Beerens - LICENSE - https://github.com/MatthiWare/FinancialModelingPrep.NET - git - FinancialModelingPrep stock quote finance-api - https://github.com/MatthiWare/FinancialModelingPrep.NET - - - GetEnterpriseValueAsync Type fixed - - FinancialModelingPrep - + + net5.0 + MatthiWare.FinancialModelingPrep + False + True + MatthiWare + MatthiWare.FinancialModelingPrep + FinancialModelingPrep API Client written in .NET 5 + Copyright Matthias Beerens 2021 + FinancialModelingPrep API Client + Matthias Beerens + LICENSE + https://github.com/MatthiWare/FinancialModelingPrep.NET + git + FinancialModelingPrep stock quote finance-api + https://github.com/MatthiWare/FinancialModelingPrep.NET + + - GetEnterpriseValueAsync Type fixed + + FinancialModelingPrep + - - D:\Source\Repos\FinancialModelingPrep.NET\FinancialModelingPrepApi\FinancialModelingPrepApi.xml - + + D:\Source\Repos\FinancialModelingPrep.NET\FinancialModelingPrepApi\FinancialModelingPrepApi.xml + - - - - - - + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - True - - - + + true + v + true + normal + + + + + True + + + diff --git a/FinancialModelingPrepApi/FinancialModelingPrepApi.xml b/FinancialModelingPrepApi/FinancialModelingPrepApi.xml index 46820a1..84ebc22 100644 --- a/FinancialModelingPrepApi/FinancialModelingPrepApi.xml +++ b/FinancialModelingPrepApi/FinancialModelingPrepApi.xml @@ -62,6 +62,13 @@ To date YYYY-MM-DD + + + Public comapnies sometimes change their symbol and thanks to this endpoint you will be able to know if there is any symbol change happened. + Data for new symbol is getting transferred from the old symbol the same day + + + Complete list of all institutional investment managers by cik @@ -234,6 +241,9 @@ + + + diff --git a/Tests/CompanyValuation/CompanyValuationTests.cs b/Tests/CompanyValuation/CompanyValuationTests.cs index 468cb89..c747670 100644 --- a/Tests/CompanyValuation/CompanyValuationTests.cs +++ b/Tests/CompanyValuation/CompanyValuationTests.cs @@ -302,7 +302,7 @@ public async Task GetCompanyKeyMetricsTTMAsync(string symbol) [InlineData("AGS.BR", Period.Annual)] [InlineData("CMCSA", Period.Annual)] [InlineData("O", Period.Annual)] - [InlineData("BRK.B", Period.Annual)] + [InlineData("BRK-B", Period.Annual)] [InlineData("CX", Period.Annual)] public async Task GetCompanyKeyMetricsAsync(string symbol, Period period) {