We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The exchange engine provides trading functionality and serves as a gateway for the trading engine.
Trading engine features:
trait RestExchangeAdapter { fn place_orders(&mut self, orders: &[OrderRequest]) -> Result<Box<[Order]>, PlaceOrdersError>; fn cancel_orders(&mut self, order_ids: &[OrderId]) -> Result<Box<[Order]>, CancelOrdersError>; fn fetch_balances(&self) -> Result<Box<[AssetBalance]>, FetchBalancesError>; } trait FixExchangeAdapter { fn connect(&mut self) -> Result<(), ConnectError>; fn place_order(&mut self, order: OrderRequest) -> Result<Order, PlaceOrderError>; fn cancel_order(&mut self, order_id: OrderId) -> Result<Order, CancelOrderError>; } trait WsExchangeAdapter { fn connect(&mut self) -> Result<(), ConnectError>; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The exchange engine provides trading functionality and serves as a gateway for the trading engine.
Trading engine features:
The text was updated successfully, but these errors were encountered: