Exemple #1
0
        public async Task <IAvapiResponse_HT_TRENDMODE> QueryAsync(
            string symbol,
            Const_HT_TRENDMODE.HT_TRENDMODE_interval interval,
            Const_HT_TRENDMODE.HT_TRENDMODE_series_type series_type)
        {
            string current_interval    = s_HT_TRENDMODE_interval_translation[interval] as string;
            string current_series_type = s_HT_TRENDMODE_series_type_translation[series_type] as string;

            return(await QueryPrimitiveAsync(symbol, current_interval, current_series_type));
        }
Exemple #2
0
        public IAvapiResponse_HT_TRENDMODE Query(
            string symbol,
            Const_HT_TRENDMODE.HT_TRENDMODE_interval interval,
            Const_HT_TRENDMODE.HT_TRENDMODE_series_type series_type)
        {
            string current_interval    = s_HT_TRENDMODE_interval_translation[interval] as string;
            string current_series_type = s_HT_TRENDMODE_series_type_translation[series_type] as string;

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