package com.jxy.marketall.service;


import com.jxy.common.core.web.Result.AjaxResult;
import com.jxy.marketall.entity.Price;
import com.jxy.marketall.vo.CoinPriceVo;
import com.jxy.marketall.vo.CoinVo;

import java.util.HashMap;
import java.util.List;


/**
 * @Description 价格查询服务类
 * @Date 2022/5/20 11:40
 * @Author 杜懿
 */
public interface CoinPriceService {


    /***
     * 查询其他货币的价格
     * @param vo
     * @return
     */
    public AjaxResult findCoinMarketByTime(CoinVo vo);


    /**
     * 查询所有货币的价格
     * @return
     */
    public AjaxResult findCoinMarketAll();


    /***
     * 用于跟ohlc对比的价格查询
     * @param coinPriceVo
     * @return
     */
    public AjaxResult findCoinPriceByOHLC(CoinPriceVo coinPriceVo);

    ///***
    // * 用于跟ohlc对比的价格查询
    // * @param coinPriceVo
    // * @return
    // */
    //public AjaxResult findCoinPriceAllByOHLC(CoinPriceVo coinPriceVo);

    //public List<Price> getPriceList(HashMap<String,String> map);


}
