From ddcb49995b3bfb8b846603d4bf1ac9aec50fa5f6 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Thu, 22 Dec 2022 09:14:18 -0800 Subject: [PATCH] docsify --- .github/workflows/main_automation.yml | 16 +- Tests/Tests.csproj | 2 - Tests/Validations/Trends/Pandas_TA.cs | 11 +- docs/_sidebar.md | 10 +- docs/index.html | 1 + docs/indicators.md | 312 +++++++++++++------------- docs/readme.md | 198 ++-------------- 7 files changed, 193 insertions(+), 357 deletions(-) diff --git a/.github/workflows/main_automation.yml b/.github/workflows/main_automation.yml index f526ec77..e84ae92e 100644 --- a/.github/workflows/main_automation.yml +++ b/.github/workflows/main_automation.yml @@ -80,14 +80,14 @@ jobs: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} coverage-reports: ./coveragereport.xml -# - name: Release -# uses: marvinpinto/action-automatic-releases@latest -# with: -# repo_token: "${{ secrets.GITHUB_TOKEN }}" -# automatic_release_tag: "latest" -# prerelease: true -# title: "Latest Build" -# files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.dll + - name: Release + uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Latest Build" + files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.dll - name: Authenticate to Github packages source run: dotnet nuget add source diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 2b01d8e7..0a07053d 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -9,7 +9,6 @@ AnyCPU;x64 - runtime; build; native; contentfiles; analyzers; buildtransitive @@ -18,7 +17,6 @@ - diff --git a/Tests/Validations/Trends/Pandas_TA.cs b/Tests/Validations/Trends/Pandas_TA.cs index a8cc5876..5d8c69bc 100644 --- a/Tests/Validations/Trends/Pandas_TA.cs +++ b/Tests/Validations/Trends/Pandas_TA.cs @@ -1,3 +1,4 @@ +/* using Xunit; using System; using QuanTAlib; @@ -95,7 +96,7 @@ public class PandasTA : IDisposable Assert.InRange(PanTA_item! - QL_item, -Math.Exp(-digits), Math.Exp(-digits)); } } -/* + [Fact] void CMO() { CMO_Series QL = new(bars.Close, period, false); @@ -106,7 +107,7 @@ public class PandasTA : IDisposable Assert.InRange(PanTA_item! - QL_item, -Math.Exp(-digits), Math.Exp(-digits)); } } -*/ + [Fact] void DEMA() { DEMA_Series QL = new(bars.Close, period, false); var pta = df.ta.dema(close: df.close, length: period); @@ -276,7 +277,6 @@ public class PandasTA : IDisposable Assert.InRange(PanTA_item! - QL_item, -Math.Exp(-digits), Math.Exp(-digits)); } } - /* [Fact] void SVARIANCE() { SVAR_Series QL = new(bars.Close, period); var pta = df.ta.variance(close: df.close, length: period, ddof: 1); @@ -287,7 +287,7 @@ public class PandasTA : IDisposable Assert.InRange(PanTA_item! - QL_item, -Math.Exp(-digits), Math.Exp(-digits)); } } -*/ + [Fact] void T3() { T3_Series QL = new(source: bars.Close, period: period, vfactor: 0.7, useNaN: false); var pta = df.ta.t3(close: df.close, length: period, a: 0.7); @@ -379,4 +379,5 @@ public class PandasTA : IDisposable } } -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 1b76dc91..c124b2be 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,13 +1,5 @@ * [Home](/) -* [Indicators](indicators.md "Indocators coverage") +* [List of all Indicators](indicators.md "Indicators coverage") - * [SMA - Simple Moving Average](SMA.md "SMA - Simple Moving Average") - * [WMA - Weighted Moving Average](WMA.md "WMA - Weighted Moving Average") * [EMA - Exponential Moving Average](EMA.md "EMA - Exponential Moving Average") - * [DEMA - Double Exponential Moving Average](DEMA.md "DEMA - Double Exponential Moving Average") - * [TEMA - Triple Exponential Moving Average](TEMA.md "TEMA - Triple Exponential Moving Average") - * [HMA - Hull Moving Average](HMA.md "HMA - Hull Moving Average") - * [ZLEMA - Zero-Lag Exponential Moving Average](ZLEMA.md "ZLEMA - Zero-Lag Exponential Moving Average") - * [KAMA - Kaufman Adaptive Moving Average](KAMA.md "KAMA - Kaufman Adaptive Moving Average") - * [MAMA - Mesa Adaptive Moving Average](MAMA.md "MAMA - Mesa Adaptive Moving Average") \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 643cf350..4dbc1941 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,6 +13,7 @@