Skip to content

Commit

Permalink
Merge pull request #23 from SebastienEveno/bump_version_to_0.5.8
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
SebastienEveno authored Dec 3, 2022
2 parents 75d2767 + ad05f65 commit 3101996
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,19 @@ my_autocallable = exotx.Autocallable(notional, strike, autocall_barrier_level, a

### Define the static data
The object that represents static data such as the calendar, the day counter or the business day convention used.

#### From the constructor
```python
my_static_data = exotx.StaticData(day_counter='Actual360', business_day_convention='ModifiedFollowing')
```

#### From JSON
```python
my_static_data = exotx.StaticData()
my_json = {
'day_counter': 'Actual360',
'business_day_convention': 'ModifiedFollowing'
}
my_static_data = exotx.StaticData.from_json(my_json)
```

### Define the market data
Expand Down
2 changes: 1 addition & 1 deletion exotx/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.7"
__version__ = "0.5.8"

0 comments on commit 3101996

Please sign in to comment.