Commit Graph
5 Commits
Author SHA1 Message Date
earthjasonlin 77d5f053f0 feat: add convert order type
- Add `convert` orders for direct base/quote token exchange without order book
- Distinguish buy/sell validation: buy uses quoteOrderQty, sell uses quantity
- Support automatic amount estimation when only one of quantity/quoteOrderQty is provided
- Update README: replace old order type list, document convert usage with BASE/QUOTE symbols and new examples
- Lowercase order_type and side values throughout documentation
2026-08-19 14:18:25 +08:00
earthjasonlin 1013e9563f docs(readme): update project name 2025-07-19 00:22:52 +08:00
earthjasonlin bfb88af302 feat(config): execute all json in config/ 2025-07-17 22:24:50 +08:00
earthjasonlin 40a797e7ed feat(mapping): move mapping table to json 2025-07-15 21:21:49 +08:00
earthjasonlin 1c3ca56823 feat(main): load trades form json, imporve LIMIT LIMIT_MAKER order handling
- Read trading instructions from JSON configuration file
- Support executing multiple trades by date (* means executing daily)
- Automatically fetch real-time price as the limit price when no price is provided
- For LIMIT, LIMIT_MAKER orders, support providing only quoteOrderQty to automatically calculate the quantity
2025-07-15 20:38:52 +08:00