runMonteCarloSimulation
chainalign-backend / services/monteCarloService / runMonteCarloSimulation
Function: runMonteCarloSimulation()
runMonteCarloSimulation(
planInputs,externalContext,iterations):Promise<any>
Defined in: services/monteCarloService.js:12
Runs a Monte Carlo simulation by calling the Python microservice.
Parameters
planInputs
any
The core inputs for the simulation.
externalContext
any = {}
The external context, like simulated events.
iterations
number = 10000
The number of iterations for the simulation.
Returns
Promise<any>
- The results of the simulation from the Python service.