Ejemplo n.º 1
0
        public async Task <IAvapiResponse_NATR> QueryAsync(
            string symbol,
            Const_NATR.NATR_interval interval,
            int time_period)
        {
            string current_interval = s_NATR_interval_translation[interval] as string;

            return(await QueryPrimitiveAsync(symbol, current_interval, time_period));
        }
Ejemplo n.º 2
0
        public IAvapiResponse_NATR Query(
            string symbol,
            Const_NATR.NATR_interval interval,
            int time_period)
        {
            string current_interval = s_NATR_interval_translation[interval] as string;

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