Crate lfest[−][src]
Expand description
lfest - leveraged futures exchange for simulated trading aims to be a high performance exchange for backtesting
Structs
Config | Define the Exchange configuration |
Exchange | The main leveraged futures exchange for simulated trading |
Margin | Describes the margin information of the account |
Order | Defines an order |
Position | Describes the position information of the account |
Enums
FeeType | Defines the two fee types for different types of orders |
FuturesType | Enumeration of different futures types |
OrderError | Defines the possible order errors that can occur when submitting a new order |
OrderType | Defines the available order types |
Side | Side of the order |
Functions
round | round a value to a given precision of decimal places used in tests |