Exemple #1
0
        public async Task <IAvapiResponse_HT_SINE> QueryAsync(
            string symbol,
            Const_HT_SINE.HT_SINE_interval interval,
            Const_HT_SINE.HT_SINE_series_type series_type)
        {
            string current_interval    = s_HT_SINE_interval_translation[interval] as string;
            string current_series_type = s_HT_SINE_series_type_translation[series_type] as string;

            return(await QueryPrimitiveAsync(symbol, current_interval, current_series_type));
        }
Exemple #2
0
        public IAvapiResponse_HT_SINE Query(
            string symbol,
            Const_HT_SINE.HT_SINE_interval interval,
            Const_HT_SINE.HT_SINE_series_type series_type)
        {
            string current_interval    = s_HT_SINE_interval_translation[interval] as string;
            string current_series_type = s_HT_SINE_series_type_translation[series_type] as string;

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