mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Don't limit lookback to 500 candles
This commit is contained in:
parent
e37e901b8e
commit
66348322b4
|
@ -198,7 +198,7 @@ export default class CandleChartContainer extends Vue {
|
|||
strategy: this.strategy,
|
||||
});
|
||||
} else {
|
||||
this.getPairCandles({ pair: this.pair, timeframe: this.timeframe, limit: 500 });
|
||||
this.getPairCandles({ pair: this.pair, timeframe: this.timeframe });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -620,7 +620,7 @@ export function createBotSubStore(botId: string, botName: string) {
|
|||
.catch(console.error);
|
||||
},
|
||||
[BotStoreActions.getPairCandles]({ commit }, payload: PairCandlePayload) {
|
||||
if (payload.pair && payload.timeframe && payload.limit) {
|
||||
if (payload.pair && payload.timeframe) {
|
||||
return api
|
||||
.get('/pair_candles', {
|
||||
params: { ...payload },
|
||||
|
|
|
@ -170,7 +170,7 @@ export interface AvailablePairResult {
|
|||
export interface PairCandlePayload {
|
||||
pair: string;
|
||||
timeframe: string;
|
||||
limit: number;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
export interface PairHistoryPayload {
|
||||
|
|
Loading…
Reference in New Issue
Block a user