package
0.0.0-20241212013832-3e83a38c33ff
Repository: https://github.com/blackhorseya/golang-101.git
Documentation: pkg.go.dev
# Functions
NewStrategy creates a new strategy with the given entry and exit conditions.
# Structs
AndExpression is a concrete expression that represents a logical AND operation.
Condition is a value object that represents a single condition used in a trading strategy.
MarketData is a context that holds the necessary data for market data.
NilExpression is a concrete expression that represents a nil value.
OrExpression is a concrete expression that represents a logical OR operation.
StrategyParameters that encapsulates the parameters of a trading strategy.
# Interfaces
Expression is an interface that represents a mathematical expression.