semvec/pypi-packages huggingface dataset:
tradx 0.10.0
A Package Designed to simplify strategy development on package xts-api-client
Requires Python: >=3.12

# Changelog

## [v0.1.2] - *Released: 09-Jan-2025*  
### Changes:
- **examples/example1.py**  
  - Refactored code for improved readability and efficiency.  
- **examples/example2.log** *(New)*  
  - Log file for the second example script.  
- **examples/example2.py** *(New)*  
  - Added a script demonstrating two example algorithmic trading strategies using the `tradx` library.  
- **src/tradx/baseClass/baseAlgo.py**  
  - Added functionality to track orders and positions at the strategy level.  
  - Implemented the ability to square off individual strategy positions intraday without disrupting others.  
- **src/tradx/baseClass/order.py** *(New)*  
  - Introduced a Pydantic class to manage strategy-level orders.  
- **src/tradx/baseClass/orderEvent.py**  
  - Fixed a bug in attribute types for 'OrderAverageTradedPrice' and 'OrderAverageTradedPriceAPI.'  
- **src/tradx/baseClass/position.py** *(New)*  
  - Introduced a Pydantic class to manage strategy-level positions.  
- **src/tradx/interactiveEngine.py**  
  - Refactored code for better maintainability.  
  - Added functionality to cancel individual orders.

---

## [example1 Added] - *Released: 08-Jan-2025*  
### Changes:
- **examples/example1.log** *(New)*  
  - Log file for the first example script.  
- **examples/example1.py** *(New)*  
  - Example script showcasing basic functionality of the `tradx` library.

---

## [v0.1.1] - *Released: 08-Jan-2025*  
### Changes:
- **algoContainer.py**  
  - Fixed the broadcast function to work with the new Pydantic class for candle data.  
- **baseClass/baseAlgo.py**  
  - Added virtual functions for `unsubscribe`, `initialize`, and `deinitialize`.  
- **baseClass/index.py** *(New)*  
  - Implemented a separate Pydantic class for index data management.  
- **marketDataEngine.py**  
  - Made the `subscribe` and `unsubscribe` functions functional.  
  - Updated `loadMaster` function to fetch options and futures master data.  
  - Fixed bugs in `on_event_candle_data_full`.

---

## Initial Commit - *Released: 07-Jan-2025*  
### Changes:  
- Introduced the `tradx` package.  

---

This changelog provides a clear and organized view of the changes across different versions.
mlog-util 2025.12.23
Add your description here
Requires Python: >=3.11


## [v0.1.4] - 2025-10-17
### ♻️ 优化/重构
- 调整 `log_manager` 模块结构

## [v0.1.5] [v0.1.6] - 2025-10-17
### ♻️ 调整结构
- 调整 整体结构， 修复 v0.1.4 不可用效果

## [v0.1.7] - 2025-10-28
### ✨ 添加新功能 🐛 修改Bug
- 调整 时间轮询基准时间(从 UTC 改成 本地时间)
- 新增 * *, 轮询时间和文件大小(默认按 1天 5M)

## [v2025.12.03]
- 🐛 删除 时间轮询方式
- 🐛 修改 文件大小轮询方式

## [v2025.12.11]
- ✨ 重新添加 时间轮询方式，添加测试

## [v2025.12.16]
- ♻️ 修改 format 为 "%(asctime)s | %(name)-8s | %(levelname)-4s | %(message)s"

## [v2025.12.23]
- 🧹 调整 时间轮询默认时间是 [D] 天