ivolatility-backtesting 1.7.0__tar.gz → 1.8.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ivolatility_backtesting
3
- Version: 1.7.0
3
+ Version: 1.8.0
4
4
  Summary: A universal backtesting framework for financial strategies using the IVolatility API.
5
5
  Author-email: IVolatility <support@ivolatility.com>
6
6
  Project-URL: Homepage, https://ivolatility.com
@@ -2659,7 +2659,7 @@ def preload_data_universal(config, data_requests=None):
2659
2659
  elif chunking.get('enabled', False):
2660
2660
  date_param_from = chunking.get('date_param', 'from_')
2661
2661
  date_param_to = chunking.get('date_param_to', 'to')
2662
- chunk_days = chunking.get('chunk_days', 90)
2662
+ chunk_days = chunking.get('chunk_days', 30)
2663
2663
  chunk_size = timedelta(days=chunk_days)
2664
2664
 
2665
2665
  current = start_date
@@ -2782,7 +2782,7 @@ def _auto_detect_requests(config):
2782
2782
  'enabled': True,
2783
2783
  'date_param': 'from_',
2784
2784
  'date_param_to': 'to',
2785
- 'chunk_days': 90
2785
+ 'chunk_days': config.get('chunk_days_options', 30)
2786
2786
  },
2787
2787
  'post_process': lambda df: _process_options_df(df)
2788
2788
  })
@@ -2803,7 +2803,7 @@ def _auto_detect_requests(config):
2803
2803
  'enabled': True,
2804
2804
  'date_param': 'from_',
2805
2805
  'date_param_to': 'to',
2806
- 'chunk_days': 90
2806
+ 'chunk_days': config.get('chunk_days_options', 30)
2807
2807
  }
2808
2808
  })
2809
2809
 
@@ -2818,7 +2818,7 @@ def _auto_detect_requests(config):
2818
2818
  'enabled': True,
2819
2819
  'date_param': 'from_',
2820
2820
  'date_param_to': 'to',
2821
- 'chunk_days': 365 # Stock data is lightweight
2821
+ 'chunk_days': config.get('chunk_days_stock', 180) # Stock data is lightweight
2822
2822
  }
2823
2823
  })
2824
2824
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ivolatility_backtesting
3
- Version: 1.7.0
3
+ Version: 1.8.0
4
4
  Summary: A universal backtesting framework for financial strategies using the IVolatility API.
5
5
  Author-email: IVolatility <support@ivolatility.com>
6
6
  Project-URL: Homepage, https://ivolatility.com
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ivolatility_backtesting"
7
- version = "1.7.0"
7
+ version = "1.8.0"
8
8
  description = "A universal backtesting framework for financial strategies using the IVolatility API."
9
9
  readme = "README.md"
10
10
  authors = [