System and method for financial instrument modeling and using monte carlo simulation
First Claim
1. A method for automatically generating software code in a target language for modeling and valuing financial instruments, comprising the steps of:
- a) developing a problem specification for the financial instrument including—
defining the financial instrument as problem specification, comparing said problem specification with constraints within a knowledge base, invoking heuristics within said knowledge base to further define said problem specification;
b) formulating a financial model of the problem specification, including—
producing one or more templates associated with a Monte Carlo Simulation describing said financial model;
c) generating software code in said target language based on said templates; and
d) running said software code on a computer with user-defined variables to value said financial instrument.
0 Assignments
0 Petitions
Accused Products
Abstract
The software synthesis method and system of the present invention provides a problem solving environment for Monte Carlo simulations (or other concise mathematical description), common in engineering, finance, and science, which automatically transforms a problem description into executable software code. The method and system uses a specification language to support a user'"'"'s natural description of the geometry and mathematics of the problem and solution strategies. The natural description is concisely expressed using general coordinates and dimensionless parameters, using domain specific keywords as appropriate. The user'"'"'s problem description is compared with the system'"'"'s knowledge base to refine the problem—i.e., identifying constraints, applying heuristics and defaults, and applying elaboration rules. The software synthesis method and system uses planning process, computer algebra, and templates to analyze and optimize the problem description, choose and customize data structures, and generate pseudo-code. The pseudo-code is translated into the desired target language source code. The software synthesis system and method therefore provides the ability to describe a problem and possible solution strategies at a high level, and outputs target language code that implements a solution. The software synthesis system and method is particularly useful modeling options where a Monte Carlo simulation is used.
86 Citations
20 Claims
-
1. A method for automatically generating software code in a target language for modeling and valuing financial instruments, comprising the steps of:
-
a) developing a problem specification for the financial instrument including— defining the financial instrument as problem specification, comparing said problem specification with constraints within a knowledge base, invoking heuristics within said knowledge base to further define said problem specification;
b) formulating a financial model of the problem specification, including— producing one or more templates associated with a Monte Carlo Simulation describing said financial model;
c) generating software code in said target language based on said templates; and
d) running said software code on a computer with user-defined variables to value said financial instrument. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for valuing a financial instrument which automatically generates software code based on a user-defined specification of said financial instrument, comprising:
-
a knowledge base containing constraints, heuristics and defaults for developing a finance problem specification based on said user-defined specification and said constraints, heuristics and defaults;
a computer algebra system for writing at least discrete portions of a Monte Carlo Simulation indicative of said finance problem specification;
one or more templates describing said stochastic differential equations, describing evolution of said stochastic differential equations, and generating pseudo-code reflecting said Monte Carlo Simulation; and
a code generator which generates software code in a target language from said pseudo-code for valuing a financial instrument based on said user-defined specification.
-
-
15. A method for modeling a finance problem useful for valuing financial instruments associated with the problem, comprising the steps of:
-
assembling a set of algorithm templates some of which represent a Monte Carlo Simulation describing the finance problem, the templates being human readable declarations of said Monte Carlo Simulation independent of data structure and target language specifics, one or more of said templates including pseudo-code expressions including matrix operators, scalar operators, or Boolean operators;
filling in the problem attributes in said templates including invoking a knowledge base having constraints, heuristics, and defaults to refine design decisions of the finance problem; and
building pseudo-code from said templates which models said finance problem. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification