Skip to content

Commit 7616d2f

Browse files
committed
QPR-13640 add missing run script
1 parent 4370a06 commit 7616d2f

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Examples/AmericanMonteCarlo/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"run_forwardbond.py", # 73
1111
"run_overlapping.py", # 60
1212
"run_scenariostatistics.py" # 75
13+
"run_genericbarrier.py"
1314
]
1415

1516
# Get max parallel from environment variable, default to 1
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python
2+
3+
import glob
4+
import os
5+
import sys
6+
sys.path.append('../')
7+
from ore_examples_helper import OreExample
8+
9+
oreex = OreExample(sys.argv[1] if len(sys.argv)>1 else False)
10+
11+
print("+---------------------------------------------------------+")
12+
print("| AMC: GenericBarrierOption and FxGenericBarrierOption |")
13+
print("+---------------------------------------------------------+")
14+
15+
oreex.print_headline("Run ORE to produce AMC exposure")
16+
oreex.run("Input/ore_barrier.xml")
17+

0 commit comments

Comments
 (0)