hkjc 0.4.0__py3-none-any.whl → 0.4.1__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.
hkjc/processing.py CHANGED
@@ -115,7 +115,7 @@ def generate_all_qp_trades(date: str, venue_code: str, race_number: int, rebate:
115
115
  if fit_harville:
116
116
  fit_res = fit_harville_to_odds(odds)
117
117
  if fit_res['success']:
118
- odds = fit_res['odds_fit']
118
+ odds['PLA'] = fit_res['odds_fit']['PLA']
119
119
  else:
120
120
  print(f"[WARNING] Harville model fitting failed: {fit_res.get('message','')}")
121
121
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hkjc
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Library for scrapping HKJC data and perform basic analysis
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: beautifulsoup4>=4.14.2
@@ -3,12 +3,12 @@ hkjc/features.py,sha256=LicwtKBpMzpz_dSX9bjoCLLaRUu8oeZo1AloTe7v7sI,298
3
3
  hkjc/harville_model.py,sha256=WSA_1EcNOHKGraP6WVHJ3FXZPGrDrjKhJc_q70KKx80,20188
4
4
  hkjc/historical.py,sha256=88z3DiWuj1L0sJw5EXnEkg4L_xx7-UH6UI6x9duDMvI,8380
5
5
  hkjc/live.py,sha256=DgCjqd-QHdUk2ReSQoxIcUhcChCqtUG60p8r-iHnk-k,10958
6
- hkjc/processing.py,sha256=xOiNW36bKCYV-WY1XKvnG5-xClLBX7sUaAqBON3Qzyc,6594
6
+ hkjc/processing.py,sha256=_OR3_mVtCBz9DL97a8z7QREqWxRSNRzabTkccfLy0yQ,6608
7
7
  hkjc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  hkjc/speedpro.py,sha256=Y2Z3GYGeePc4sM-ZnCHXCI1N7L-_j9nrMqS3CC5BBSo,2031
9
9
  hkjc/utils.py,sha256=uAiFmy5NXsADUiD1-MCPgs1hs4N3e7tVYtSREkxwKSQ,6425
10
10
  hkjc/strategy/place_only.py,sha256=lHPjTSj8PzghxncNBg8FI4T4HJigekB9a3bV7l7VtPA,2079
11
11
  hkjc/strategy/qpbanker.py,sha256=MQxjwsfhllKZroKS8w8Q3bi3HMjGc1DAyBIjNZAp3yQ,4805
12
- hkjc-0.4.0.dist-info/METADATA,sha256=0IqDjr-M_iktjvE3tYnjELEdWFP4cprR0C8dRv9ZaJ8,479
13
- hkjc-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- hkjc-0.4.0.dist-info/RECORD,,
12
+ hkjc-0.4.1.dist-info/METADATA,sha256=Q6ICL21dJ624T-Qo7l-a9nmLbHgJrmOMbRiK8hHNMDs,479
13
+ hkjc-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ hkjc-0.4.1.dist-info/RECORD,,
File without changes