You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
2.5 KiB
126 lines
2.5 KiB
import request from '@/utils/request'
|
|
|
|
// 查询动量结果列表
|
|
export function listTrends(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询时间段内动量结果列表
|
|
export function listTrendsSection(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listSection',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询时间段内动量结果列表
|
|
export function listTradeVolume(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listTradeVolume',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询指数内涨停板数量
|
|
export function listStockIndexLimitUp(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listStockIndexLimitUp',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询板块内跌停板数量
|
|
export function listStockIndexLimitDown(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listStockIndexLimitDown',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询创新高板块
|
|
export function listStockIndexHighRocord(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listStockIndexHighRocord',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询创新低板块
|
|
export function listStockIndexLowRocord(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listStockIndexLowRocord',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询时间段内动量结果列表
|
|
export function listSectionByBlemind(query) {
|
|
return request({
|
|
url: '/stocksystem/trends/listSectionByBlemind',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询个股历史k线数据
|
|
export function listStockHistory(query) {
|
|
return request({
|
|
url: '/stocksystem/stocks/stockHistory',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 板块历史k线数据
|
|
export function listStockIndexHistory(query) {
|
|
return request({
|
|
url: '/stocksystem/stocks/stockIndexHistory',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询动量结果详细
|
|
export function getTrends(id) {
|
|
return request({
|
|
url: '/stocksystem/trends/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增动量结果
|
|
export function addTrends(data) {
|
|
return request({
|
|
url: '/stocksystem/trends',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改动量结果
|
|
export function updateTrends(data) {
|
|
return request({
|
|
url: '/stocksystem/trends',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除动量结果
|
|
export function delTrends(id) {
|
|
return request({
|
|
url: '/stocksystem/trends/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|