Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
visheshnarayan committed Dec 27, 2024
1 parent 114d33e commit c73ce27
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/data/loaders/wrds/crsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ def load_data(self, **config) -> xr.Dataset:
'Y': FrequencyType.YEARLY
}[config.get("frequency")]

loaded_data = self._convert_to_xarray(loaded_data,
['issuno', 'hexcd', 'hsiccd',
'bidlo', 'askhi', 'prc', 'vol', 'ret', 'bid', 'ask', 'shrout', 'cfacpr',
'cfacshr', 'openprc', 'numtrd', 'retx'],
frequency=freq)
loaded_data = self._convert_to_xarray(
loaded_data, [
'issuno', 'hexcd', 'hsiccd', 'bidlo', 'askhi', 'prc', 'vol',
'ret', 'bid', 'ask', 'shrout', 'cfacpr', 'cfacshr', 'openprc',
'numtrd', 'retx'
], frequency=freq
)

# TODO: Cache

Expand Down

0 comments on commit c73ce27

Please sign in to comment.