pub struct BithumbExchange { /* private fields */ }Expand description
Bithumb exchange integration for order execution
Implementations§
Source§impl BithumbExchange
impl BithumbExchange
Sourcepub fn new() -> BithumbExchange
pub fn new() -> BithumbExchange
Create a new Bithumb exchange client
Source§impl BithumbExchange
impl BithumbExchange
Sourcepub fn with_credentials(api_key: String, secret_key: String) -> BithumbExchange
pub fn with_credentials(api_key: String, secret_key: String) -> BithumbExchange
Create a new Bithumb exchange client with provided credentials
Trait Implementations§
Source§impl Default for BithumbExchange
impl Default for BithumbExchange
Source§fn default() -> BithumbExchange
fn default() -> BithumbExchange
Returns the “default value” for a type. Read more
Source§impl Exchange for BithumbExchange
impl Exchange for BithumbExchange
Source§fn send_order<'life0, 'async_trait>(
&'life0 self,
order: Order,
) -> Pin<Box<dyn Future<Output = Result<(), OmsError>> + Send + 'async_trait>>where
'life0: 'async_trait,
BithumbExchange: 'async_trait,
fn send_order<'life0, 'async_trait>(
&'life0 self,
order: Order,
) -> Pin<Box<dyn Future<Output = Result<(), OmsError>> + Send + 'async_trait>>where
'life0: 'async_trait,
BithumbExchange: 'async_trait,
Send an order to the exchange
Auto Trait Implementations§
impl Freeze for BithumbExchange
impl !RefUnwindSafe for BithumbExchange
impl Send for BithumbExchange
impl Sync for BithumbExchange
impl Unpin for BithumbExchange
impl !UnwindSafe for BithumbExchange
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