client-py connected
This commit is contained in:
@@ -5,18 +5,16 @@ export interface ChartState {
|
||||
symbol: string
|
||||
start_time: number | null
|
||||
end_time: number | null
|
||||
interval: string
|
||||
period: string
|
||||
selected_shapes: string[]
|
||||
}
|
||||
|
||||
export const useChartStore = defineStore('ChartStore', () => {
|
||||
const chart_state = ref<ChartState>({
|
||||
symbol: 'BINANCE:BTC/USDT',
|
||||
start_time: null,
|
||||
end_time: null,
|
||||
interval: '15',
|
||||
selected_shapes: []
|
||||
})
|
||||
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 selected_shapes = ref<string[]>([])
|
||||
|
||||
return { chart_state }
|
||||
return { symbol, start_time, end_time, period, selected_shapes }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user