You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use binance_sdk::spot;use binance_sdk::config;let configuration = config::ConfigurationWebsocketApi::builder().api_key("your-api-key").api_secret("your-api-secret").mode(models::WebsocketMode::Pool(3))// Use pool mode with a pool size of 3.build()?;let client = spot::SpotWsApi::production(configuration);let connection = client.connect().await?;let params = spot::websocket_api::ExchangeInfoParams::default();let response = connection.exchange_info(params).await?;