Set strategy asset and data requirements
set_strategy_requirementsExplicitly overrides the automatically analyzed assetClasses and dataRequirements metadata for this owned strategy revision only. Use this when the user asks for an override or the saved-code analysis needs a deliberate correction. Future revisions are analyzed fresh and do not inherit this override. This updates revision database metadata only; it does not edit strategy files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revisionId | Yes | AiStrategyRevision.id to update | |
| strategyId | No | Strategy.id for ownership resolution | |
| aiStrategyId | No | AiStrategy.id for ownership resolution | |
| assetClasses | Yes | Asset classes the strategy actually trades. | |
| dataRequirements | Yes | Asset classes whose market data the strategy reads. |