Skip to content

Commit fd53e32

Browse files
committed
Update test_FinBondFutures.py
1 parent 39e7b6a commit fd53e32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/test_FinBondFutures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_bond_future_2():
5959

6060
futures_price = 125.265625
6161

62-
pip = bondFutureContract.principal_invoice_price(bond, futures_price)
62+
pip = bondFutureContract.principal_invoice(bond, futures_price)
6363

6464
assert round(pip, 4) == 9162291.0800
6565

@@ -133,4 +133,4 @@ def test_future_bond_ctd():
133133

134134
ctd = bondFutureContract.ctd(bonds, prices, futures_price)
135135

136-
assert round(ctd.cpn, 4) == 0.0238
136+
assert round(ctd.cpn, 4) == 0.0225

0 commit comments

Comments
 (0)