feat(FEAT-DS-001): 接入AKTools超短行情补充数据源

This commit is contained in:
2026-08-24 21:40:22 +08:00
parent 81c48af8cc
commit 6e8a05114e
42 changed files with 1449 additions and 36 deletions
@@ -0,0 +1,28 @@
import { Controller, Get, Inject } from '@nestjs/common';
import { ApiOkResponse, ApiTags } from '@nestjs/swagger';
import {
ShortTermConclusionResponseDto,
ShortTermEmotionResponseDto,
} from './short-term.dto';
import { ShortTermMarketService } from './short-term.service';
@ApiTags('market-overview-short-term')
@Controller('market-overview/short-term')
export class ShortTermMarketController {
constructor(
@Inject(ShortTermMarketService) private readonly service: ShortTermMarketService,
) {}
@Get('emotion')
@ApiOkResponse({ type: ShortTermEmotionResponseDto })
getEmotion(): Promise<ShortTermEmotionResponseDto> {
return this.service.getEmotion();
}
@Get('conclusion')
@ApiOkResponse({ type: ShortTermConclusionResponseDto })
getConclusion(): Promise<ShortTermConclusionResponseDto> {
return this.service.getConclusion();
}
}