bybit remove futures

This commit is contained in:
slasher125
2023-01-13 17:54:03 +04:00
parent 3e94438c57
commit 0103b5fc8b

View File

@@ -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(