You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default data used for the simulation isCSV files for futures stitched prices, FXand contract related data. It's my intention to update this and try to keep it reasonably current with each release. The data is stored in the [data/futures directory](/data/futures)
660
+
The default data used for the simulation isCSV files for futures stitched prices, FXand contract related data. It's my intention to update this and try to keep it reasonably current with each release. The data is stored in the [data/futures directory](/data/futures). See [update Sep 2025](/docs/data.md#note-on-outdated-shipped-csv-data)
661
661
662
662
You can update that data, if you wish. Be careful to save it as a CSVwith the right formatting, or pandas will complain. Check that a fileis correctly formatted like so:
@@ -102,7 +103,7 @@ In general each step relies on the previous step to work; more formally:
102
103
103
104
Before we start, another note: Confusingly, data can be stored or come from various places, which include:
104
105
105
-
1. CSV files containing data that pysystemtrade is shipped with (stored in [this set of directories](/data/futures)). Any CSV data 'pipeline' object defaults to using this data set.
106
+
1. CSV files containing data that pysystemtrade is shipped with (stored in [this set of directories](/data/futures)). Any CSV data 'pipeline' object defaults to using this data set. See [note below](#note-on-outdated-shipped-csv-data)
106
107
2. configuration CSV files used to initialise the system, such as [`/data/futures/csvconfig/spreadcosts.csv`](/data/futures/csvconfig/spreadcosts.csv)
107
108
3. Temporary CSV files created in the process of initialising the databases
108
109
4. Backup CSV files, created by the production system.
@@ -123,6 +124,8 @@ Hence, there are five possible use cases:
123
124
124
125
Because of this it's possible at (almost) every stage to store data in either CSV or databases (the exception are roll calendars, which only live in CSV format).
125
126
127
+
### Note on outdated shipped CSV data
128
+
The CSV multiple and adjusted files supplied with the project have not been updated since March 2024, when Rob stepped back from the project. You can find an updated (sub)set of files in [this project](https://github.com/bug-or-feature/pst-csv-data). See the [discussion here](https://github.com/robcarver17/pysystemtrade/discussions/1553)
126
129
127
130
## Instrument configuration and spread costs
128
131
@@ -370,7 +373,9 @@ This will also copy adjusted prices, so you can now skip ahead to [creating FX d
370
373
371
374
### Updating shipped multiple prices
372
375
373
-
Assuming that you have an Interactive Brokers account, you might want to update the (stale) data that you have [downloaded from the repo](/docs/backtesting.md#setting-up-mongodb-and-parquet) before [calculating back adjusted prices](#creating-and-storing-back-adjusted-prices).
376
+
See [this script](https://github.com/robcarver17/pysystemtrade/blob/develop/sysinit/futures/adhoc/update_provided_multiple_prices.py)
377
+
378
+
Assuming that you have an Interactive Brokers account, you might want to update the (stale) data that you have [downloaded from the repo](/docs/backtesting.md#setting-up-mongodb-and-parquet) before [calculating back adjusted prices](#creating-and-storing-back-adjusted-prices). [See this note](#note-on-outdated-shipped-csv-data)
374
379
375
380
A first step is to [update the sampled contracts available](/docs/production.md#update-sampled-contracts-daily), and [their historical prices](/docs/production.md#update-futures-contract-historical-price-data-daily). This might entail [manually checking](/docs/production.md#manual-check-of-futures-contract-historical-price-data) historical prices with spikes.
0 commit comments