Skip to content

Commit d453cc9

Browse files
author
Scott Sanderson
committed
BUG: Don't sort currencies when making fx rates.
This causes the stored currencies to get out of sync with cls.FX_RATES_CURRENCIES.
1 parent 4222ba1 commit d453cc9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

zipline/testing/fixtures.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,6 @@ def make_fx_rates_from_reference(cls, reference):
21522152
def make_fx_rates(cls, rate_names, currencies, sessions):
21532153
rng = np.random.RandomState(42)
21542154

2155-
currencies = sorted(currencies)
2156-
21572155
out = {}
21582156
for rate_name in rate_names:
21592157
cols = {}

0 commit comments

Comments
 (0)