mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-13 03:33:50 +00:00
Allow different scales for daily query
This commit is contained in:
parent
85b5e2abaf
commit
e9c46db38a
|
@ -123,9 +123,9 @@ export default {
|
||||||
.then((result) => commit('updateBalance', result.data))
|
.then((result) => commit('updateBalance', result.data))
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
},
|
},
|
||||||
getDaily({ commit }) {
|
getDaily({ commit }, timescale = 15) {
|
||||||
return api
|
return api
|
||||||
.get('/daily')
|
.get('/daily', { params: { timescale } })
|
||||||
.then((result) => commit('updateDaily', result.data))
|
.then((result) => commit('updateDaily', result.data))
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user