Beispiel #1
0
        public async Task <IAvapiResponse_HT_TRENDLINE> QueryAsync(
            string symbol,
            Const_HT_TRENDLINE.HT_TRENDLINE_interval interval,
            Const_HT_TRENDLINE.HT_TRENDLINE_series_type series_type)
        {
            string current_interval    = s_HT_TRENDLINE_interval_translation[interval] as string;
            string current_series_type = s_HT_TRENDLINE_series_type_translation[series_type] as string;

            return(await QueryPrimitiveAsync(symbol, current_interval, current_series_type));
        }
Beispiel #2
0
        public IAvapiResponse_HT_TRENDLINE Query(
            string symbol,
            Const_HT_TRENDLINE.HT_TRENDLINE_interval interval,
            Const_HT_TRENDLINE.HT_TRENDLINE_series_type series_type)
        {
            string current_interval    = s_HT_TRENDLINE_interval_translation[interval] as string;
            string current_series_type = s_HT_TRENDLINE_series_type_translation[series_type] as string;

            return(QueryPrimitive(symbol, current_interval, current_series_type));
        }