pub struct CCXTConfig {
pub exchange: String,
pub api_key: String,
pub secret: String,
pub password: Option<String>,
pub sandbox: bool,
pub timeout: Duration,
}Expand description
CCXT exchange configuration
Fields§
§exchange: StringExchange name (binance, coinbase, kraken, etc.)
api_key: StringAPI key
secret: StringAPI secret
password: Option<String>Additional password (for some exchanges)
sandbox: boolSandbox/testnet mode
timeout: DurationRequest timeout
Trait Implementations§
Source§impl Clone for CCXTConfig
impl Clone for CCXTConfig
Source§fn clone(&self) -> CCXTConfig
fn clone(&self) -> CCXTConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CCXTConfig
impl RefUnwindSafe for CCXTConfig
impl Send for CCXTConfig
impl Sync for CCXTConfig
impl Unpin for CCXTConfig
impl UnwindSafe for CCXTConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more