Crate lfest[][src]

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

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