mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Update history type
This commit is contained in:
parent
135daaf119
commit
b9bfab7722
|
@ -162,7 +162,7 @@ export default {
|
|||
});
|
||||
},
|
||||
getPairHistory({ commit }, payload: PairHistoryPayload) {
|
||||
if (payload.pair && payload.timeframe && payload.limit && payload.timerange) {
|
||||
if (payload.pair && payload.timeframe && payload.timerange) {
|
||||
return api
|
||||
.get('/pair_history', {
|
||||
params: { ...payload },
|
||||
|
|
|
@ -144,7 +144,9 @@ export interface PairCandlePayload {
|
|||
limit: number;
|
||||
}
|
||||
|
||||
export interface PairHistoryPayload extends PairCandlePayload {
|
||||
export interface PairHistoryPayload {
|
||||
pair: string;
|
||||
timeframe: string;
|
||||
timerange: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user