matexPipValueValidators top-level property
Implementation
final List<MatexStateValidator> matexPipValueValidators = [
(MatexBaseCoreState state) =>
state.positionSize != null && state.positionSize! > 0,
(MatexBaseCoreState state) =>
state.baseCode != null &&
state.baseCode!.isNotEmpty &&
state.counterCode != null &&
state.counterCode!.isNotEmpty &&
state.accountCode != null &&
state.accountCode!.isNotEmpty,
];