bayesline.api.equity.MCapFilterSettings#
- model MCapFilterSettings#
Specify the lower and upper bound for the market cap filter.
By default the bounds are infinite.
Fields# Field
Type
Required
Default
Constraints
No
0.0ge=0
No
1e+20gt=0.0, ge=0
Validators# Validator
Mode
Fields
after
model
- field lower: float [Optional]#
Lower bound of the cap filter in USD.
- Constraints:
ge =
0
- Validated by:
- field upper: float [Optional]#
Upper bound of the cap filter in USD.
- Constraints:
gt =
0.0ge =
0
- Validated by:
- validator check_upper_gt_lower(mode=after)#
Validate that the upper bound is greater than the lower bound. Returns ——- MCapFilterSettings The validated instance. Raises —— ValueError If the upper bound is not greater than the lower bound.
- Validates:
entire model