Skip to content

Commit 80e60c6

Browse files
author
Cheng.Li
committed
Continuing with the previous commit
1 parent 9f465c4 commit 80e60c6

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

tests/Math/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
@author: cheng.li
66
"""
77

8-
import numpy as np
98
import math
9+
import numpy as np
1010

1111
def norm(values, h):
1212
values = np.square(values)

tests/PricingEngines/testBlackFormula.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import unittest
99
import math
10-
1110
from finpy.Enums.OptionType import OptionType
1211
from finpy.PricingEngines.BlackFormula import bachelierFormula
1312
from finpy.PricingEngines.BlackFormula import bachelierFormulaImpliedVol

tests/Risk/testAccumulatorsArithmetic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
import unittest
99
import math
10+
from collections import deque
1011
import numpy as np
1112
from scipy.stats import linregress
12-
from collections import deque
1313
from finpy.Risk.IAccumulators import Exp
1414
from finpy.Risk.IAccumulators import Log
1515
from finpy.Risk.IAccumulators import Sqrt

tests/testSuite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
@author: cheng.li
66
"""
77

8+
import unittest
89
import DateUtilities
910
import Env
1011
import Math
1112
import Risk
1213
import PricingEngines
13-
import unittest
1414

1515

1616
def test():

0 commit comments

Comments
 (0)