mirror of
https://github.com/zhangxiangliang/stock-api.git
synced 2025-01-23 06:00:24 +08:00
feat: 更新 股票接口
This commit is contained in:
parent
4e694b44f5
commit
6a13a16ed4
@ -1,17 +1,9 @@
|
||||
import Trade from "interfaces/Trade";
|
||||
|
||||
export interface Stock {
|
||||
name: number;
|
||||
name: string;
|
||||
code: string;
|
||||
|
||||
price: number;
|
||||
percent: number;
|
||||
|
||||
unit: number;
|
||||
cost: number;
|
||||
volume: number;
|
||||
|
||||
trades: Trade[];
|
||||
}
|
||||
|
||||
export default Stock;
|
||||
|
@ -1,6 +0,0 @@
|
||||
interface Trade {
|
||||
cost: number;
|
||||
volume: number;
|
||||
}
|
||||
|
||||
export default Trade;
|
Loading…
Reference in New Issue
Block a user