Optimizers
Create Optimizer
Author one portfolio-weighting class. Pass prompt to have the LLM write it (metered like a build) or script with exact Python exposing @staticmethod opt(ret_df, syms). The class is frozen and injected into every later backtest that names it. Models identify the stored optimizer by its class name.
post/v1/optimizers
Request
- Base URL: https://api.ensemble.markets (the document declares no server; this is the origin it was published from)
- URL: https://api.ensemble.markets/v1/optimizers
- Auth: HTTP bearer
Request body
Example request
{
"prompt": "Maximum Sharpe, long-only, 40% cap, 63-day covariance window",
"name": "MaxSharpeOpt"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.