pub trait Binance: Sized {
fn new_with_config(
api_key: Option<String>,
secret_key: Option<String>,
config: &Config
) -> Self;
fn new(api_key: Option<String>, secret_key: Option<String>) -> Self { ... }
fn new_with_env(config: &Config) -> Self { ... }
}
Required methods
Provided methods
fn new_with_env(config: &Config) -> Self
fn new_with_env(config: &Config) -> Self
Create a binance API using environment variables for credentials
BINANCE_API_KEY=