mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Move files correctly
This commit is contained in:
parent
f5636273f4
commit
3179bd92a5
|
@ -2,5 +2,6 @@ export * from './auth';
|
||||||
export * from './blacklist';
|
export * from './blacklist';
|
||||||
export * from './chart';
|
export * from './chart';
|
||||||
export * from './daily';
|
export * from './daily';
|
||||||
|
export * from './plot';
|
||||||
export * from './profit';
|
export * from './profit';
|
||||||
export * from './types';
|
export * from './types';
|
||||||
|
|
16
src/types/plot.ts
Normal file
16
src/types/plot.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export interface IndicatorConfig {
|
||||||
|
color?: string;
|
||||||
|
type?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PlotConfig {
|
||||||
|
main_plot: Record<string, IndicatorConfig>;
|
||||||
|
subplots: Record<string, Record<string, IndicatorConfig>>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PlotConfigStorage {
|
||||||
|
[key: string]: PlotConfig;
|
||||||
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||||
|
export const EMPTY_PLOTCONFIG: PlotConfig = { main_plot: {}, subplots: {} };
|
|
@ -187,20 +187,3 @@ export interface PairHistory {
|
||||||
/** Data end date in as millisecond timestamp */
|
/** Data end date in as millisecond timestamp */
|
||||||
data_stop_ts: number;
|
data_stop_ts: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IndicatorConfig {
|
|
||||||
color?: string;
|
|
||||||
type?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface PlotConfig {
|
|
||||||
main_plot: Record<string, IndicatorConfig>;
|
|
||||||
subplots: Record<string, Record<string, IndicatorConfig>>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface PlotConfigStorage {
|
|
||||||
[key: string]: PlotConfig;
|
|
||||||
}
|
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
|
||||||
export const EMPTY_PLOTCONFIG: PlotConfig = { main_plot: {}, subplots: {} };
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ export default class Graphs extends Vue {
|
||||||
public getWhitelist;
|
public getWhitelist;
|
||||||
|
|
||||||
@ftbot.Action
|
@ftbot.Action
|
||||||
public getAvailablePairs!: (payload: AvailablePairPayload) => void;
|
public getAvailablePairs!: (payload: AvailablePairPayload) => Promise<void>;
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getWhitelist();
|
this.getWhitelist();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user