//
pkg.gl
Category
github.com/c9s/bbgo
pkg
risk
riskcontrol
package
1.60.0
Repository:
https://github.com/c9s/bbgo.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
7
Dependents
2
Files
189 SLOC
#
Functions
NewCircuitBreakRiskControl
NewOrderPriceRiskControl
NewPositionRiskControl
#
Structs
CircuitBreakRiskControl
OrderPriceRiskControl
PositionRiskControl
PositionRiskControl controls the position with the given hard limit TODO: add a decorator for the order executor and move the order submission logics into the decorator go:generate callbackgen -type PositionRiskControl.