mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Improve naming
This commit is contained in:
parent
90b157b7f9
commit
dceb7b5fe8
|
@ -12,7 +12,7 @@ import 'echarts/lib/component/title';
|
|||
import 'echarts/lib/component/tooltip';
|
||||
import 'echarts/lib/component/legend';
|
||||
|
||||
import { DailyReturn } from '@/store/types';
|
||||
import { DailyReturnValue } from '@/store/types';
|
||||
|
||||
// Define Column labels here to avoid typos
|
||||
const CHART_ABS_PROFIT = 'Absolute profit';
|
||||
|
@ -24,7 +24,7 @@ const CHART_TRADE_COUNT = 'Trade Count';
|
|||
},
|
||||
})
|
||||
export default class DailyChart extends Vue {
|
||||
@Prop({ required: true }) dailyStats!: DailyReturn;
|
||||
@Prop({ required: true }) dailyStats!: DailyReturnValue;
|
||||
|
||||
get dailyChartOptions() {
|
||||
return {
|
||||
|
|
|
@ -27,7 +27,7 @@ export interface DailyRecord {
|
|||
trade_count: number;
|
||||
}
|
||||
|
||||
export interface DailyReturn {
|
||||
export interface DailyReturnValue {
|
||||
data: Array<DailyRecord>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user