Dear developer community
using FINANCIAL-CONTRACTS API, i try to replicate FxSwptoSwp and FxSwpToDepP Adfin function by indicating user input (spot, points) without success.
indeed, i use FxSwptoSwp function to get Crossed DEV1DEV2 FxPoints given inputs ( ex EURGBP=> spots (EURUSD, GBPUSD), FxPoints (EURUSD, GBPUSD). I want to replicate this calculation using FinancialContracts API as it can be made using SPO App (Swap Points and Outrights).
FxSwpToDepP function is used to get Ccy2 Implied Deposit given (DEV1DEV2 spot, DEV1DEV2 points, Ccy1DepositRate).
many thanks for your help.
Regards