예제 #1
0
 public void OnGet()
 {
     AvModel.Ticker     = "USDJPY";
     AvModel.Interval   = 1;
     AvModel.Outputsize = 1;
     AvModel.FxData     = AlphaVantageHelper.GetAvFxBar(AvModel.Ticker, AvModel.Interval, AvModel.Outputsize, avKey.ApiKey);
 }
예제 #2
0
 public void OnPost()
 {
     AvModel.FxData = AlphaVantageHelper.GetAvFxBar(AvModel.Ticker, AvModel.Interval, AvModel.Outputsize, avKey.ApiKey);
 }