Package net.finmath.smartcontract.api
Interface ValuationApi
- All Known Implementing Classes:
ValuationController
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2025-03-05T11:55:17.433196+01:00[Europe/Berlin]")
@Validated
public interface ValuationApi
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.http.ResponseEntity<MarginResult>
_legacyMargin(@Valid MarginRequest marginRequest)
POST /valuation/legacy/margin : Request mapping for the margindefault org.springframework.http.ResponseEntity<MarginResult>
_margin(@Valid MarginRequest marginRequest)
POST /valuation/margin : Request mapping for the valuedefault org.springframework.http.ResponseEntity<ValueResult>
_testProductValue(org.springframework.web.multipart.MultipartFile tradeData)
POST /valuation/legacy/test/product : Request mapping for the value of a product (using fixed market data)default org.springframework.http.ResponseEntity<ValueResult>
_value(@Valid ValueRequest valueRequest)
POST /valuation/value : Request mapping for the valuedefault org.springframework.http.ResponseEntity<ValueResult>
_valueAtTime(@Valid ValueRequest valueRequest)
POST /valuation/valueAtTime : Request mapping for the value at specific evaluationTimedefault Optional<org.springframework.web.context.request.NativeWebRequest>
default org.springframework.http.ResponseEntity<MarginResult>
legacyMargin(MarginRequest marginRequest)
default org.springframework.http.ResponseEntity<MarginResult>
margin(MarginRequest marginRequest)
default org.springframework.http.ResponseEntity<ValueResult>
testProductValue(org.springframework.web.multipart.MultipartFile tradeData)
default org.springframework.http.ResponseEntity<ValueResult>
value(ValueRequest valueRequest)
default org.springframework.http.ResponseEntity<ValueResult>
valueAtTime(ValueRequest valueRequest)
-
Method Details
-
getRequest
-
_legacyMargin
@RequestMapping(method=POST, value="/valuation/legacy/margin", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<MarginResult> _legacyMargin(@Valid @RequestBody(required=false) @Valid MarginRequest marginRequest)POST /valuation/legacy/margin : Request mapping for the margin- Parameters:
marginRequest
- (optional)- Returns:
- Margin was calculated (status code 200) or unexpected error (status code 200)
-
legacyMargin
default org.springframework.http.ResponseEntity<MarginResult> legacyMargin(MarginRequest marginRequest) -
_margin
@RequestMapping(method=POST, value="/valuation/margin", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<MarginResult> _margin(@Valid @RequestBody(required=false) @Valid MarginRequest marginRequest)POST /valuation/margin : Request mapping for the value- Parameters:
marginRequest
- (optional)- Returns:
- Margin was calculated (status code 200) or unexpected error (status code 200)
-
margin
-
_testProductValue
@RequestMapping(method=POST, value="/valuation/legacy/test/product", produces="application/json", consumes="multipart/form-data") default org.springframework.http.ResponseEntity<ValueResult> _testProductValue(@RequestPart(value="tradeData",required=true) org.springframework.web.multipart.MultipartFile tradeData)POST /valuation/legacy/test/product : Request mapping for the value of a product (using fixed market data)- Parameters:
tradeData
- (required)- Returns:
- Value was calculated (status code 200) or unexpected error (status code 200)
-
testProductValue
default org.springframework.http.ResponseEntity<ValueResult> testProductValue(org.springframework.web.multipart.MultipartFile tradeData) -
_value
@RequestMapping(method=POST, value="/valuation/value", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<ValueResult> _value(@Valid @RequestBody(required=false) @Valid ValueRequest valueRequest)POST /valuation/value : Request mapping for the value- Parameters:
valueRequest
- (optional)- Returns:
- Value was calculated (status code 200) or unexpected error (status code 200)
-
value
-
_valueAtTime
@RequestMapping(method=POST, value="/valuation/valueAtTime", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<ValueResult> _valueAtTime(@Valid @RequestBody(required=false) @Valid ValueRequest valueRequest)POST /valuation/valueAtTime : Request mapping for the value at specific evaluationTime- Parameters:
valueRequest
- (optional)- Returns:
- Value was calculated (status code 200) or unexpected error (status code 200)
-
valueAtTime
default org.springframework.http.ResponseEntity<ValueResult> valueAtTime(ValueRequest valueRequest)
-