Skip to content

Commit 322a17a

Browse files
committed
minor fix
1 parent 9d4dd75 commit 322a17a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dexs/vest/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const tickers_endpoint = 'https://serverprod.vest.exchange/v2/ticker/24hr'
88

99
const blacklisted_tickers = ['VC-PERP'] // wash trading
1010

11-
const fetch = async (timestamp: number, _: any, options: FetchOptions): Promise<FetchResultVolume> => {
11+
const fetch = async (): Promise<FetchResultVolume> => {
1212
// const from_date = getUniqStartOfTodayTimestamp(new Date(options.startOfDay * 1000));
1313
// const to_date = from_date + 86400;
1414
// const data = (await fetchURL(`https://serverprod.vest.exchange/v2/exchangeInfo/volume?from_date=${from_date * 1000}&to_date=${to_date * 1000}`));
@@ -26,6 +26,7 @@ const adapter: SimpleAdapter = {
2626
adapter: {
2727
[CHAIN.BASE]: {
2828
fetch,
29+
runAtCurrTime: true,
2930
start: '2025-01-01',
3031
},
3132
},

0 commit comments

Comments
 (0)