pub struct BybitExchange {
pub api_key: String,
pub secret_key: String,
/* private fields */
}๐Deprecated: Use rusty_ems::exchanges::BybitRestClient instead for better performance and features
Expand description
Bybit exchange implementation
Fieldsยง
ยงapi_key: String๐Deprecated: Use rusty_ems::exchanges::BybitRestClient instead for better performance and features
API key for authentication
secret_key: String๐Deprecated: Use rusty_ems::exchanges::BybitRestClient instead for better performance and features
Secret key for signing requests
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Exchange for BybitExchange
impl Exchange for BybitExchange
Sourceยงfn send_order<'life0, 'async_trait>(
&'life0 self,
order: Order,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_order<'life0, 'async_trait>(
&'life0 self,
order: Order,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send an order to the exchange
Auto Trait Implementationsยง
impl Freeze for BybitExchange
impl !RefUnwindSafe for BybitExchange
impl Send for BybitExchange
impl Sync for BybitExchange
impl Unpin for BybitExchange
impl !UnwindSafe for BybitExchange
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