Skip to main content

Crate beaumont

Crate beaumont 

Source
Expand description

A basic implementation of algorithmic trading for quantitative financial applications.

This crate is in an early stage of development and not production ready yet.
Use with caution!

Macros§

vector
Create mathematical Vector from fixed-size array

Structs§

Decimal
Representation of a decimal number in fixed-point arithmetic
Vector
Representation of a mathematical vector

Enums§

DecimalError
Error type for decimal numbers
RoundingMode
Rounding mode to be used in decimal number operations requiring rounding

Constants§

MAX_COEFFICIENT
The maximum coefficient allowed in representing decimal numbers
MAX_PRECISION
The maximum precision possible in representing decimal numbers
MAX_SCALING
The maximum scaling allowed in representing decimal numbers
MIN_COEFFICIENT
The minimum coefficient allowed in representing decimal numbers
MIN_SCALING
The minimum scaling allowed in representing decimal numbers

Traits§

Dimension
A trait for types that have a dimension (such as vectors and matrices)

Attribute Macros§

allow_decimals
Allow custom literals of Decimal numbers