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
This commit is contained in:
2025-07-15 20:38:52 +08:00
parent d918cc2d9f
commit 1c3ca56823
3 changed files with 451 additions and 26 deletions

3
.pylintrc Normal file
View File

@@ -0,0 +1,3 @@
[MASTER]
disable=
broad-exception-caught