コード例 #1
0
        public async Task <IAvapiResponse_HT_DCPHASE> QueryAsync(
            string symbol,
            Const_HT_DCPHASE.HT_DCPHASE_interval interval,
            Const_HT_DCPHASE.HT_DCPHASE_series_type series_type)
        {
            string current_interval    = s_HT_DCPHASE_interval_translation[interval] as string;
            string current_series_type = s_HT_DCPHASE_series_type_translation[series_type] as string;

            return(await QueryPrimitiveAsync(symbol, current_interval, current_series_type));
        }
コード例 #2
0
        public IAvapiResponse_HT_DCPHASE Query(
            string symbol,
            Const_HT_DCPHASE.HT_DCPHASE_interval interval,
            Const_HT_DCPHASE.HT_DCPHASE_series_type series_type)
        {
            string current_interval    = s_HT_DCPHASE_interval_translation[interval] as string;
            string current_series_type = s_HT_DCPHASE_series_type_translation[series_type] as string;

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