derivitec.core.client.DerivitecClient.upload_vol_surface_spot_model_definitions

DerivitecClient.upload_vol_surface_spot_model_definitions(spot_model_definitions, market_data_environment_name=None)[source]

Upload a batch of beta-adjusted ATMF spot model definitions.

Each definition carries its own asset identifier, reference date, model ID, tenors and betas. The server resolves identifiers and fixes the model type to BetaAdjustedATMF. Invalid rows, unknown identifiers and duplicate resolved asset/model/date identities reject the batch before saving. Persistence is not transactional.

Requires edit access to the selected market-data environment. Omitting market_data_environment_name uses the caller’s organisation scope. The API resolves and stamps the authorized provider onto every row. Upload provenance is server-managed and Rolled is false. Existing records with the same asset/model/date/provider identity are replaced.

Parameters:
Return type:

derivitec.market_data.response.ApiUploadVolSurfaceSpotModelDefinitionsResponse

Code

>>> client.upload_vol_surface_spot_model_definitions(spot_model_definitions, market_data_environment_name=market_data_environment_name)