discountry
fda6bcad1d
refactor: rename Aster-prefixed universal types to clean names
...
- AsterOrder → Order
- AsterAccountSnapshot → AccountSnapshot
- AsterAccountPosition → AccountPosition
- AsterAccountAsset → AccountAsset
- AsterDepthLevel → DepthLevel
- AsterDepth → Depth
- AsterTicker → Ticker
- AsterKline → Kline
These types are the platform-agnostic contract used by all 8 exchanges,
not Aster-specific. Renamed across 63 files.
2026-04-06 18:11:57 +08:00
discountry
76704b6bdd
Enhance entry price logic in Maker and Liquidity Maker strategies
...
- Added `entryDepthLevel` configuration option to `MakerConfig` and `LiquidityMakerConfig` for specifying order entry levels.
- Implemented `getPricesAtLevel` utility function to retrieve bid and ask prices at specified depth levels.
- Updated `MakerEngine`, `LiquidityMakerEngine`, and `OffsetMakerEngine` to utilize the new entry level logic for determining opening prices based on market depth.
- Improved price handling to ensure more accurate order placements in varying market conditions.
2026-01-20 01:03:38 +08:00
discountry
6e5413ec1e
Refactor order status handling in NadoGateway and MakerEngine. Introduce isOrderActiveStatus utility to streamline order filtering logic. Add tests for error handling and order status utilities.
2025-12-20 13:10:48 +08:00
discountry
819ce93a90
fix stoploss
2025-12-07 23:35:10 +08:00
discountry
7612e25dd1
add stoploss
2025-12-07 22:33:56 +08:00
discountry
9a418aba41
add trend skip
2025-12-07 22:15:34 +08:00
discountry
2cb6c4fef1
feat: add minBaseAmount and minQuoteAmount to ExchangePrecision and LighterGateway for improved trading logic
2025-12-07 21:52:35 +08:00
discountry
180f47b6e0
support lighter spot
2025-12-07 21:37:58 +08:00
discountry
5f79b134f2
refactor: restructure Lighter SDK by removing deprecated Go files and enhancing Python documentation with new examples and models
2025-12-07 19:14:56 +08:00
discountry
f48371ccd8
feat: add priceDecimals to MakerEngine and OffsetMakerEngine for improved price formatting in MakerApp and OffsetMakerApp
2025-11-12 21:24:16 +08:00
discountry
01e5ab9997
feat: add price viability checks and ensure maker price adjustments in OffsetMakerEngine for improved order handling
2025-11-12 20:45:29 +08:00
discountry
28bc1d5210
feat: improve error handling in OffsetMakerEngine and enhance logging in LighterGateway for better debugging and robustness
2025-11-12 20:34:02 +08:00
discountry
870fe2b8d7
feat: enhance order error handling in OffsetMakerEngine and update LighterGateway order status types for improved robustness
2025-11-12 19:35:31 +08:00
discountry
d0d1afa0ea
feat: enhance quantity and price rounding functions for improved precision in trading calculations
2025-11-06 21:06:03 +08:00
discountry
5bba8169b5
feat: enhance precision synchronization in trading strategies and improve order quantity normalization logic
2025-10-27 18:42:44 +08:00
discountry
cfd5f4309d
feat: 添加 Paradex 适配器支持,更新环境变量配置和适配器构建逻辑
2025-10-06 18:06:23 +08:00
discountry
ccc3a2bf89
feat: 增强 OffsetMakerEngine 订单处理逻辑,添加快速重价抑制机制以减少重复下单
2025-10-03 16:16:20 +08:00
discountry
d5c4b04746
feat: 更新订单处理逻辑,将价格类型改为字符串以避免精度问题,并添加价格格式化函数
2025-10-03 07:15:21 +08:00
discountry
9124c06315
chore: 移除 Maker 策略中的价格追逐阈值配置,简化订单计划逻辑
2025-10-03 01:13:06 +08:00
discountry
6ab0759d3d
feat: 引入事件发射器和会话交易量跟踪器,重构策略引擎以支持更灵活的事件处理和交易量计算
2025-09-28 00:43:49 +08:00
discountry
25ab1ababf
chore: 重构策略引擎,将核心逻辑迁移至策略目录,删除旧的引擎文件并更新相关引用
2025-09-28 00:03:48 +08:00