pub struct PythonFeeModel { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for PythonFeeModel
impl Clone for PythonFeeModel
Source§impl Debug for PythonFeeModel
impl Debug for PythonFeeModel
Source§impl FeeModel for PythonFeeModel
impl FeeModel for PythonFeeModel
Source§fn get_commission(
&self,
order: &OrderAny,
fill_quantity: Quantity,
fill_px: Price,
instrument: &InstrumentAny,
) -> Result<Money>
fn get_commission( &self, order: &OrderAny, fill_quantity: Quantity, fill_px: Price, instrument: &InstrumentAny, ) -> Result<Money>
Calculates commission for a fill. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PythonFeeModel
impl Freeze for PythonFeeModel
impl Send for PythonFeeModel
impl Sync for PythonFeeModel
impl Unpin for PythonFeeModel
impl UnsafeUnpin for PythonFeeModel
impl UnwindSafe for PythonFeeModel
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