simudyne-pulse 0.6.0.dev2__tar.gz → 0.6.1__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.
Files changed (22) hide show
  1. {simudyne_pulse-0.6.0.dev2/src/simudyne_pulse.egg-info → simudyne_pulse-0.6.1}/PKG-INFO +2 -2
  2. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/README.md +1 -1
  3. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/pyproject.toml +4 -4
  4. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/simulation.py +15 -8
  5. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1/src/simudyne_pulse.egg-info}/PKG-INFO +2 -2
  6. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/LICENSE +0 -0
  7. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/setup.cfg +0 -0
  8. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/__init__.py +0 -0
  9. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/client.py +0 -0
  10. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/exceptions.py +0 -0
  11. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/__init__.py +0 -0
  12. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/api_keys.py +0 -0
  13. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/data.py +0 -0
  14. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/historical.py +0 -0
  15. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/profile.py +0 -0
  16. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/simulator_gym.py +0 -0
  17. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne/resources/validation.py +0 -0
  18. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne_pulse.egg-info/SOURCES.txt +0 -0
  19. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne_pulse.egg-info/dependency_links.txt +0 -0
  20. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne_pulse.egg-info/requires.txt +0 -0
  21. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/src/simudyne_pulse.egg-info/top_level.txt +0 -0
  22. {simudyne_pulse-0.6.0.dev2 → simudyne_pulse-0.6.1}/tests/test_simulator_gym.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simudyne-pulse
3
- Version: 0.6.0.dev2
3
+ Version: 0.6.1
4
4
  Summary: Python SDK for the Simudyne Pulse synthetic market data API
5
5
  Author-email: Simudyne <support@simudyne.com>
6
6
  License-Expression: MIT
@@ -57,7 +57,7 @@ pip install --pre simudyne-pulse
57
57
  ```
58
58
 
59
59
  Only use dev builds for testing unreleased changes; they are not guaranteed
60
- stable. Merge `dev` into `main` to promote those changes to a stable release.
60
+ stable. Merge `dev` into `prod` to promote those changes to a stable release.
61
61
 
62
62
  ## Quick start
63
63
 
@@ -31,7 +31,7 @@ pip install --pre simudyne-pulse
31
31
  ```
32
32
 
33
33
  Only use dev builds for testing unreleased changes; they are not guaranteed
34
- stable. Merge `dev` into `main` to promote those changes to a stable release.
34
+ stable. Merge `dev` into `prod` to promote those changes to a stable release.
35
35
 
36
36
  ## Quick start
37
37
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "simudyne-pulse"
7
- version = "0.6.0-dev.2"
7
+ version = "0.6.1"
8
8
  description = "Python SDK for the Simudyne Pulse synthetic market data API"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -50,11 +50,11 @@ version_toml = ["pyproject.toml:project.version"]
50
50
  changelog_file = "CHANGELOG.md"
51
51
  build_command = "pip install build && python -m build"
52
52
 
53
- # Release channels. `main` cuts stable versions (0.6.0); `dev` cuts
53
+ # Release channels. `prod` cuts stable versions (0.6.0); `dev` cuts
54
54
  # prereleases (0.6.0-dev.1). Prerelease tags never collide with stable ones,
55
55
  # and `pip install git+...@dev` is how you pull a dev build.
56
- [tool.semantic_release.branches.main]
57
- match = "main"
56
+ [tool.semantic_release.branches.prod]
57
+ match = "prod"
58
58
  prerelease = false
59
59
 
60
60
  [tool.semantic_release.branches.dev]
@@ -32,18 +32,25 @@ SCENARIOS = {
32
32
  "trending_down": "Small steady SELL flow producing a persistent downtrend",
33
33
  }
34
34
 
35
- # Scenario parameter defaults
35
+ # Scenario parameter defaults.
36
+ #
37
+ # MUST mirror the builder signatures in the engine's EIB/calcs/scenarios.py —
38
+ # SimulationRun backfills any omitted key from those defaults via
39
+ # inspect.signature, so a stale copy here misreports what a run will actually
40
+ # do. flash_crash/buy_panic drifted once already (22.0/0.19/500ms lingered here
41
+ # after the engine moved to 150.0/0.02/100ms), so re-check both when either side
42
+ # changes.
36
43
  SCENARIO_DEFAULTS = {
37
44
  "flash_crash": {
38
- "impact_multiplier": 22.0,
39
- "order_size_ratio": 0.19,
40
- "order_freq": "500ms",
45
+ "impact_multiplier": 150.0,
46
+ "order_size_ratio": 0.02,
47
+ "order_freq": "100ms",
41
48
  "start_time": "10:30:00",
42
49
  },
43
50
  "buy_panic": {
44
- "impact_multiplier": 22.0,
45
- "order_size_ratio": 0.19,
46
- "order_freq": "500ms",
51
+ "impact_multiplier": 150.0,
52
+ "order_size_ratio": 0.02,
53
+ "order_freq": "100ms",
47
54
  "start_time": "10:30:00",
48
55
  },
49
56
  "gradual_selloff": {
@@ -397,7 +404,7 @@ class SimulationResource:
397
404
  Example:
398
405
  >>> defaults = client.simulation.get_scenario_defaults("flash_crash")
399
406
  >>> print(defaults)
400
- {'impact_multiplier': 22.0, 'order_size_ratio': 0.19, ...}
407
+ {'impact_multiplier': 150.0, 'order_size_ratio': 0.02, ...}
401
408
  """
402
409
  return SCENARIO_DEFAULTS.get(scenario, {}).copy()
403
410
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simudyne-pulse
3
- Version: 0.6.0.dev2
3
+ Version: 0.6.1
4
4
  Summary: Python SDK for the Simudyne Pulse synthetic market data API
5
5
  Author-email: Simudyne <support@simudyne.com>
6
6
  License-Expression: MIT
@@ -57,7 +57,7 @@ pip install --pre simudyne-pulse
57
57
  ```
58
58
 
59
59
  Only use dev builds for testing unreleased changes; they are not guaranteed
60
- stable. Merge `dev` into `main` to promote those changes to a stable release.
60
+ stable. Merge `dev` into `prod` to promote those changes to a stable release.
61
61
 
62
62
  ## Quick start
63
63