Convex.satisfies#

Convex.satisfies(asset, constraint)[source]

Check if asset contains constraint.

In the ordering of a convex asset, the higher value contains the other.

Parameters:
  • asset (NumericAsset) – The “container” asset.

  • constraint (NumericAsset) – The “contained” asset.

Returns:

True if asset >= constraint, False otherwise.

Return type:

bool