cryptodatapy 0.2.31__py3-none-any.whl → 0.2.32__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -839,10 +839,10 @@ class WrangleData:
839
839
  # resample
840
840
  if self.data_req.freq in ['d', 'w', 'm', 'q', 'y']:
841
841
  self.tidy_data = (
842
- (1 + self.tidy_data.funding_rate)
842
+ self.tidy_data.funding_rate
843
843
  .groupby('ticker')
844
844
  .resample('d', level='date')
845
- .prod() - 1
845
+ .sum()
846
846
  ).to_frame().swaplevel('ticker', 'date').sort_index()
847
847
 
848
848
  return self.tidy_data
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cryptodatapy
3
- Version: 0.2.31
3
+ Version: 0.2.32
4
4
  Summary: Cryptoasset data library
5
5
  License: Apache-2.0
6
6
  Author: Systamental
@@ -53,12 +53,12 @@ cryptodatapy/transform/convertparams.py,sha256=yrm9Gr6Fm7CaVTfxHGs0TJx6ZtP7llrlI
53
53
  cryptodatapy/transform/filter.py,sha256=37MjUKUay3dwwyn47rnNOU51X_OFzmWq_N9buALzq9k,9058
54
54
  cryptodatapy/transform/impute.py,sha256=_0-SX5nnPrYgJYT-HKwBGNkmWXRMy9-C2oeU6VqkQp0,5537
55
55
  cryptodatapy/transform/od.py,sha256=mI1oojMbfmdO9ZewL3AvMxoXuMM05Ut2oGm_ogMf2XU,30386
56
- cryptodatapy/transform/wrangle.py,sha256=cQOkPoiOmQtC7d2G15jMbMJSbinMmLYxM6Or7Ffh_hw,44818
56
+ cryptodatapy/transform/wrangle.py,sha256=FD4gHo4N2H90qs-mzW9HA77Nd_pMRHRuZehY-qcWwYw,44807
57
57
  cryptodatapy/util/__init__.py,sha256=zSQ2HU2QIXzCuptJjknmrClwtQKCvIj4aNysZljIgrU,116
58
58
  cryptodatapy/util/datacatalog.py,sha256=qCCX6srXvaAbVAKuA0M2y5IK_2OEx5xA3yRahDZlC-g,13157
59
59
  cryptodatapy/util/datacredentials.py,sha256=BnoQlUchbP0vfXqXRuhCOOsHyUTMuH5T4RAKBbHzMyo,3140
60
60
  cryptodatapy/util/utils.py,sha256=OTTa4YvRj7Cb_2h5h8xoDy9Ap0LB1rg_wFgsDwy9R9o,4244
61
- cryptodatapy-0.2.31.dist-info/LICENSE,sha256=sw4oVq8bDjT3uMtaFebQ-xeIVP4H-bXldTs9q-Jjeks,11344
62
- cryptodatapy-0.2.31.dist-info/METADATA,sha256=1yv__jpoMCd2OUcv4F77wOEo4XPAvvf9FOdHojmb5Qg,6486
63
- cryptodatapy-0.2.31.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
64
- cryptodatapy-0.2.31.dist-info/RECORD,,
61
+ cryptodatapy-0.2.32.dist-info/LICENSE,sha256=sw4oVq8bDjT3uMtaFebQ-xeIVP4H-bXldTs9q-Jjeks,11344
62
+ cryptodatapy-0.2.32.dist-info/METADATA,sha256=w7MQDs3NLviEh0hB3iByVxgDzx-iSPAXqHCBiTQBW2o,6486
63
+ cryptodatapy-0.2.32.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
64
+ cryptodatapy-0.2.32.dist-info/RECORD,,