Commit Graph

134 Commits

Author SHA1 Message Date
c9s
5b4be1f9fc
max: drop unused toMaxSubmitOrder 2022-12-22 13:14:25 +08:00
c9s
a340cd321b
max: add submit order limiter 2022-12-15 18:38:57 +08:00
austin362667
18acd668a7 interval: finalize 1s support
interval: finalize 1s support

interval: finalize 1s support
2022-10-14 23:14:30 +08:00
c9s
29105eb57f
all: simplify underlying exchange submitOrder method
- Replace SubmitOrders with SubmitOrder
- Accept only one submit order and return one created order
- Add bbgo.BatchPlaceOrders helper method and bbgo.BatchRetryPlaceOrders method
2022-09-09 18:41:06 +08:00
c9s
ba87ffab43
max: fix order type casting 2022-08-11 00:00:25 +08:00
c9s
99121d19c0
exchange/max: fix order trades query field name 2022-08-09 11:37:12 +08:00
c9s
a5a40c3a42
exchange/max: check order id field 2022-08-09 11:36:59 +08:00
c9s
cba9ffe064
exchange/max: add order trades api 2022-08-09 11:36:53 +08:00
zenix
2568a81dfe fix: binance time sync, exchange interval query interface, yaml for fixedpoint 2022-07-26 16:42:34 +09:00
c9s
e9faf34b5e
max: fix balance field for api 2022-07-08 17:28:07 +08:00
c9s
d6f2f4046a
max: add limit to the closed order query 2022-06-18 01:57:34 +08:00
zenix
ba1342cbc3 feature: add pre-commit 2022-06-17 16:07:00 +09:00
c9s
3428aeba03
apply default exchange fee rate
fixes #566
2022-06-03 03:24:34 +08:00
c9s
5527b3c48a
rename Withdrawal to Withdraw since it's a noun 2022-06-02 11:42:03 +08:00
c9s
ae8625da31
max: net asset should substract debt 2022-06-02 01:34:14 +08:00
c9s
92882f68f4
max: add borrow and repay todo 2022-06-02 01:28:33 +08:00
c9s
78f9c7d569
improve autoborrow checks 2022-06-02 01:27:04 +08:00
c9s
4e666dee98
max: implement margin borrow and repay service on max 2022-06-01 20:44:24 +08:00
c9s
01822eee28
max: use v3 order api to submit orders 2022-06-01 20:34:20 +08:00
c9s
50accc5a2c
max: fix QueryAccount for margin 2022-06-01 19:56:10 +08:00
c9s
e66eb08db4
batch: refactor batch query 2022-05-31 00:59:33 +08:00
c9s
fcdf0f8168
max: rename methods 2022-05-28 16:48:51 +08:00
c9s
887fe09b44
max: add margin level info the account 2022-05-27 19:48:03 +08:00
c9s
c891cc56e3
max: fix trades/orders parsing 2022-05-27 19:48:03 +08:00
c9s
d9e10b7fcd
max: integrate v3 orders api 2022-05-26 19:52:38 +08:00
c9s
e5e505d65e
max: apply margin settings struct 2022-05-25 14:38:09 +08:00
c9s
0ee23e0ce4
max: refactor order sort method into the types package 2022-05-24 18:07:34 +08:00
c9s
680231e0c5
max: drop legacy queryAllClosedOrders method 2022-05-24 18:04:33 +08:00
c9s
f65ecbdbb5
max: add net asset field to max's balance 2022-05-04 21:43:59 +08:00
c9s
9e06053c3b max: rewrite and rename private trade request 2022-04-21 14:56:20 +08:00
c9s
f9908f2931 rewrite private trade request 2022-04-21 14:52:44 +08:00
c9s
8e2a993370 max: improve max closed orders syncing 2022-04-21 14:11:49 +08:00
c9s
0410ef1305 maxapi: refactor rewards api 2022-04-21 00:18:34 +08:00
c9s
72ea9f7e24 maxapi: add deposit request tests and withdrawal request tests 2022-04-20 14:01:18 +08:00
c9s
f3eafd5cd8 remove unused get trades method 2022-04-20 13:49:06 +08:00
c9s
387c0bfb8b maxapi: rewrite vip level request 2022-04-20 13:35:17 +08:00
c9s
68abeb826b maxapi: add account service tests 2022-04-20 13:28:39 +08:00
c9s
f9df65a2f8 maxapi: add generated files 2022-04-20 13:20:54 +08:00
c9s
5cba6a6133 maxapi: use requestgen to query and submit orders 2022-04-20 12:18:35 +08:00
c9s
fcbdf8162a max: add env var MAX_QUERY_CLOSED_ORDERS_LIMIT 2022-03-07 13:56:20 +08:00
c9s
fb9f8b484c max: remove ioc limit type 2022-02-18 13:57:47 +08:00
zenix
cdba7924b4 fix backtest panic when cancel fail on the last order 2022-02-15 12:01:39 +09:00
zenix
05521a98b6 add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
zenix
b8bf2af14d fixedpoint for exchange and indicators, some fixes in types 2022-02-15 12:01:38 +09:00
c9s
a2a7ef4f7a exchange: implement ExchangeOrderQueryService on max and binance 2022-02-10 17:48:53 +08:00
c9s
59cc4d7243 max: improve max closed order query 2022-01-27 00:02:35 +08:00
c9s
6286c50f7a max: always sort trades 2022-01-24 23:59:10 +08:00
c9s
f284c35b81 max: ensure orders are sorted ascendingly 2022-01-24 23:54:58 +08:00
c9s
04a15340bc max: add warning for the uneffected conditions 2022-01-24 23:51:53 +08:00
c9s
50871c1b61 max: fix order query limiter call and order state for query 2022-01-24 23:45:56 +08:00