From 31a92331d4b2a76c27879dfd316f662678ef9f6f Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Mon, 30 May 2022 19:26:24 -0700 Subject: [PATCH] refresh --- QuanTAlib.sln | 2 +- Source/Feeds/Alphavantage_Feed.cs | 2 +- Source/Indicators/ALMA_Series.cs | 4 +- Source/QuanTAlib.csproj | 43 ++++++++------- Tests/Tests.csproj | 88 +++++++++++++++---------------- 5 files changed, 70 insertions(+), 69 deletions(-) diff --git a/QuanTAlib.sln b/QuanTAlib.sln index 0d9aeabf..f57bc1b0 100644 --- a/QuanTAlib.sln +++ b/QuanTAlib.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.2.32210.308 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QuanTAlib", "Source\QuanTAlib.csproj", "{AAE21F8A-9BC2-4647-A9EB-4DC86C569080}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuanTAlib", "Source\QuanTAlib.csproj", "{AAE21F8A-9BC2-4647-A9EB-4DC86C569080}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Quantower", "Quantower\Quantower.csproj", "{5096AEA1-81BC-46E7-9F2B-B408AFAA850C}" EndProject diff --git a/Source/Feeds/Alphavantage_Feed.cs b/Source/Feeds/Alphavantage_Feed.cs index efb97028..3c06d21a 100644 --- a/Source/Feeds/Alphavantage_Feed.cs +++ b/Source/Feeds/Alphavantage_Feed.cs @@ -23,7 +23,7 @@ public class Alphavantage_Feed : TBars if (Extended) { outputsize = "full"; } System.Net.Http.HttpClient client = new(); JsonElement json = new(); - var tokens = Symbol.Split("-"); + var tokens = Symbol.Split('-'); if (tokens.Length > 1) { string req = "https://www.alphavantage.co/query?function=FX" + GetInterval(Interval) + "&from_symbol=" + tokens[0] + "&to_symbol=" + tokens[1] + "&outputsize=" + outputsize + "&apikey=" + APIkey; diff --git a/Source/Indicators/ALMA_Series.cs b/Source/Indicators/ALMA_Series.cs index fde42118..9d819c8f 100644 --- a/Source/Indicators/ALMA_Series.cs +++ b/Source/Indicators/ALMA_Series.cs @@ -63,4 +63,6 @@ public class ALMA_Series : Single_TSeries_Indicator } } -} \ No newline at end of file +} + + diff --git a/Source/QuanTAlib.csproj b/Source/QuanTAlib.csproj index 5b5df76a..699f9ff3 100644 --- a/Source/QuanTAlib.csproj +++ b/Source/QuanTAlib.csproj @@ -1,7 +1,9 @@ - + + 0.1.14 - + + QuanTAlib Library of Technical Indicators for .NET Quantitative Technical Analysis library for both real-time (streaming) and historical data analysis @@ -11,7 +13,7 @@ Miha Kralj Miha Kralj readme.md - net7.0;net6.0 + net7.0;net6.0;netstandard2.0 disable preview disable @@ -26,48 +28,45 @@ True True - Indicators;Stock;Market;Technical;Analysis;Algorithmic;Trading;Trade;Trend;Momentum;Finance;Algorithm;Algo; - AlgoTrading;Financial;Strategy;Chart;Charting;Oscillator;Overlay;Equity;Bitcoin;Crypto;Cryptocurrency;Forex; - Quantitative;Historical;Quotes; + Indicators;Stock;Market;Technical;Analysis;Algorithmic;Trading;Trade;Trend;Momentum;Finance;Algorithm;Algo; + AlgoTrading;Financial;Strategy;Chart;Charting;Oscillator;Overlay;Equity;Bitcoin;Crypto;Cryptocurrency;Forex; + Quantitative;Historical;Quotes; Apache-2.0 false - + full True - 4 + 7 True anycpu - True - 4 + 7 True anycpu - QuanTAlib2.png https://raw.githubusercontent.com/mihakralj/QuanTAlib/main/.github/QuanTAlib2.png - False - C:\Dropbox\SSH keys\Certum\MihaKralj_OpenSource.pem - True + True - - - - - - - True + + True + False + + - + + + + \ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 4e5c2357..a3829bd3 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,58 +1,58 @@ - - - - net7.0 - preview - enable - enable - - false - - AnyCPU;x64 - - + + + + net7.0 + preview + enable + enable + + false + + AnyCPU;x64 + + 1701;1702;MSB3270 - - + + 1701;1702;MSB3270 - - + + 1701;1702;MSB3270 - - + + 1701;1702;MSB3270 - - + + - - + + - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + - - - + + +