Esempio n. 1
0
 /// <summary>
 /// Get tradingview data for displaying tradingview graph
 /// </summary>
 /// <param name="symbol">The symbol</param>
 /// <param name="chartInterval">Chart interval in seconds (e.g. 60, 900, 3600, 86400)</param>
 /// <param name="timeStampFrom">Timestamp of the starting time (e.g. 1574477162)</param>
 /// <param name="timeStampTo">Timestamp of the ending time (e.g. 1575773222)</param>
 /// <returns>Tradingview data</returns>
 public virtual async Task <string> GetTradingviewAsync(string symbol, int chartInterval, int timeStampFrom, int timeStampTo)
 {
     return(await _apiService.EndpointMarketTradingviewAsync(symbol, chartInterval, timeStampFrom, timeStampTo));
 }