Crate lfest[][src]

Expand description

lfest - leveraged futures exchange for simulated trading aims to be a high performance exchange for backtesting

Structs

Define the Exchange configuration

The main leveraged futures exchange for simulated trading

Describes the margin information of the account

Defines an order

Describes the position information of the account

Enums

Describes possible Errors that may occur when calling methods in this crate

Defines the two fee types for different types of orders

Enumeration of different futures types

Defines the possible order errors that can occur when submitting a new order

Defines the available order types

Side of the order

Functions

round a value to a given precision of decimal places used in tests

Type Definitions

This is defined as a convenience.