import http from '@/services/http' import { RequestConfig } from '@/services/http/types' /** * 实时行情 */ export function quoteSubscribe(config: RequestConfig = {}) { return http.goRequest({ method: 'post', url: '/Quote/QuoteSubscribe', data: config.data, }) } /** * 查询行情历史数据 */ export function queryHistoryDatas(config: RequestConfig = {}) { return http.commonRequest({ url: '/Quote/QueryHistoryDatas', params: config.data, }) } /** * 分时图数据查询 */ export function queryTSData(config: RequestConfig = {}) { return http.commonRequest({ url: '/Quote/QueryTSData', params: config.data, }) } /** * 查询行情Tik数据 */ export function queryHistoryTikDatas(config: RequestConfig = {}) { return http.commonRequest({ url: '/Quote/QueryHistoryTikDatas', params: config.data, }) }