This repository was archived by the owner on Sep 9, 2023. It is now read-only.
This repository was archived by the owner on Sep 9, 2023. It is now read-only.
Support running in browser #17
Open
Description
When I try to get data by your lib, I geting warnings like this:
This is how I try to fetch data:
const ccxws = require("ccxws");
export default function wsUpdate() {
const binance = new ccxws.Binance();
const market = {
id: "USDT-BTC", // remote_id used by the exchange
base: "BTC", // standardized base symbol for Cardano
quote: "USDT" // standardized quote symbol for Bitcoin
};
binance.subscribeTrades(market);
binance.on("trades", trade => console.log(trade));
}