pub struct Account { /* private fields */ }
Expand description
The users account
Implementations
Set a new position manually, be sure that you know what you are doing Returns true if successful
Set a new margin manually, be sure that you know what you are doing when using this method Returns true if successful
Return the currently active limit orders
Return a reference to acc_tracker struct
Cancel an active order returns Some order if successful with given order_id
Cancel an active order based on the user_order_id of an Order
Returns
the cancelled order if successfull, error when the user_order_id is not found
Cancel all active orders
Cumulative open limit order size of buy orders
Cumulative
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Account
impl UnwindSafe for Account
Blanket Implementations
Mutably borrows from an owned value. Read more