prosperity3bt 0.4.0__py3-none-any.whl → 0.6.0__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.
- prosperity3bt/data.py +7 -2
- prosperity3bt/resources/round1/__init__.py +0 -0
- prosperity3bt/resources/round1/prices_round_1_day_-1.csv +30001 -0
- prosperity3bt/resources/round1/prices_round_1_day_-2.csv +30001 -0
- prosperity3bt/resources/round1/prices_round_1_day_0.csv +30001 -0
- prosperity3bt/resources/round1/trades_round_1_day_-1_nn.csv +8307 -0
- prosperity3bt/resources/round1/trades_round_1_day_-2_nn.csv +8399 -0
- prosperity3bt/resources/round1/trades_round_1_day_0_nn.csv +8183 -0
- prosperity3bt/resources/round2/__init__.py +0 -0
- prosperity3bt/resources/round2/prices_round_2_day_-1.csv +80001 -0
- prosperity3bt/resources/round2/prices_round_2_day_0.csv +80001 -0
- prosperity3bt/resources/round2/prices_round_2_day_1.csv +80001 -0
- prosperity3bt/resources/round2/trades_round_2_day_-1_nn.csv +12621 -0
- prosperity3bt/resources/round2/trades_round_2_day_0_nn.csv +12577 -0
- prosperity3bt/resources/round2/trades_round_2_day_1_nn.csv +12683 -0
- prosperity3bt/resources/round6/__init__.py +0 -0
- prosperity3bt/resources/round6/prices_round_6_day_0.csv +4001 -0
- prosperity3bt/resources/round6/prices_round_6_day_1.csv +3001 -0
- prosperity3bt/resources/round6/prices_round_6_day_2.csv +8001 -0
- prosperity3bt/resources/round6/trades_round_6_day_0_nn.csv +1089 -0
- prosperity3bt/resources/round6/trades_round_6_day_1_nn.csv +845 -0
- prosperity3bt/resources/round6/trades_round_6_day_2_nn.csv +1248 -0
- prosperity3bt/resources/round7/__init__.py +0 -0
- prosperity3bt/resources/round7/prices_round_7_day_0.csv +30001 -0
- {prosperity3bt-0.4.0.dist-info → prosperity3bt-0.6.0.dist-info}/METADATA +6 -2
- prosperity3bt-0.6.0.dist-info/RECORD +43 -0
- {prosperity3bt-0.4.0.dist-info → prosperity3bt-0.6.0.dist-info}/WHEEL +1 -1
- prosperity3bt-0.4.0.dist-info/RECORD +0 -20
- /prosperity3bt/resources/round0/{prices_round_0_day_-2.csv → prices_round_0_day_-1.csv} +0 -0
- /prosperity3bt/resources/round0/{trades_round_0_day_-2_nn.csv → trades_round_0_day_-1_nn.csv} +0 -0
- {prosperity3bt-0.4.0.dist-info → prosperity3bt-0.6.0.dist-info}/entry_points.txt +0 -0
- {prosperity3bt-0.4.0.dist-info → prosperity3bt-0.6.0.dist-info}/licenses/LICENSE +0 -0
- {prosperity3bt-0.4.0.dist-info → prosperity3bt-0.6.0.dist-info}/top_level.txt +0 -0
prosperity3bt/data.py
CHANGED
@@ -7,6 +7,12 @@ from prosperity3bt.file_reader import FileReader
|
|
7
7
|
LIMITS = {
|
8
8
|
"RAINFOREST_RESIN": 50,
|
9
9
|
"KELP": 50,
|
10
|
+
"SQUID_INK": 50,
|
11
|
+
"CROISSANTS": 250,
|
12
|
+
"JAMS": 350,
|
13
|
+
"DJEMBES": 60,
|
14
|
+
"PICNIC_BASKET1": 60,
|
15
|
+
"PICNIC_BASKET2": 100,
|
10
16
|
}
|
11
17
|
|
12
18
|
|
@@ -103,8 +109,7 @@ def read_day_data(file_reader: FileReader, round_num: int, day_num: int, no_name
|
|
103
109
|
for suffix in trades_suffixes:
|
104
110
|
with file_reader.file([f"round{round_num}", f"trades_round_{round_num}_day_{day_num}_{suffix}.csv"]) as file:
|
105
111
|
if file is None:
|
106
|
-
|
107
|
-
raise ValueError(f"{trades_data_type} trades data is not available for round {round_num} day {day_num}")
|
112
|
+
continue
|
108
113
|
|
109
114
|
for line in file.read_text(encoding="utf-8").splitlines()[1:]:
|
110
115
|
columns = line.split(";")
|
File without changes
|