data fixes; indicator=>workspace sync
This commit is contained in:
@@ -5,7 +5,7 @@ export interface ChartState {
|
||||
symbol: string
|
||||
start_time: number | null
|
||||
end_time: number | null
|
||||
period: string
|
||||
period: number
|
||||
selected_shapes: string[]
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ export const useChartStore = defineStore('chartState', () => {
|
||||
const symbol = ref<string>('BINANCE:BTC/USDT')
|
||||
const start_time = ref<number | null>(null)
|
||||
const end_time = ref<number | null>(null)
|
||||
const period = ref<string>('15')
|
||||
const period = ref<number>(900) // seconds; default 15 minutes
|
||||
const selected_shapes = ref<string[]>([])
|
||||
|
||||
return { symbol, start_time, end_time, period, selected_shapes }
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
|
||||
export interface IndicatorInstance {
|
||||
id: string
|
||||
talib_name: string
|
||||
pandas_ta_name: string
|
||||
instance_name: string
|
||||
parameters: Record<string, any>
|
||||
tv_study_id?: string
|
||||
|
||||
Reference in New Issue
Block a user