Skip to main content

OpenOrdersSource

Trait OpenOrdersSource 

Source
pub trait OpenOrdersSource: Send + Sync {
    // Required method
    fn get_open_orders<'life0, 'life1, 'async_trait>(
        &'life0 self,
        wallet: &'life1 WalletAddress,
    ) -> Pin<Box<dyn Future<Output = Vec<ApiOrder>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Source for open orders. Implemented by SnapshotOpenOrdersSource.

Required Methods§

Source

fn get_open_orders<'life0, 'life1, 'async_trait>( &'life0 self, wallet: &'life1 WalletAddress, ) -> Pin<Box<dyn Future<Output = Vec<ApiOrder>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§