This commit is contained in:
Miha Kralj
2022-05-30 19:26:24 -07:00
parent 7dc024bc33
commit 31a92331d4
5 changed files with 70 additions and 69 deletions
+1 -1
View File
@@ -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;