mirror of
https://github.com/uniwhale-io/DefiLlama-yield-server.git
synced 2026-04-29 12:25:15 +08:00
bybit remove futures
This commit is contained in:
@@ -3,7 +3,9 @@ const axios = require('axios');
|
||||
const api = 'https://api.bybit.com';
|
||||
|
||||
exports.getPerpData = async () => {
|
||||
const bybit = (await axios.get(`${api}/v2/public/tickers`)).data.result;
|
||||
const bybit = (
|
||||
await axios.get(`${api}/v2/public/tickers`)
|
||||
).data.result.filter((p) => !p.symbol.includes('23'));
|
||||
|
||||
const previousFRs = (
|
||||
await Promise.all(
|
||||
|
||||
Reference in New Issue
Block a user