Commit Graph

113 Commits

Author SHA1 Message Date
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
c9s
0c0a12781a max: fix max exchange closed order sync 2022-01-24 23:18:52 +08:00
c9s
8c2228f428 cmd: use time.Local for the local timezone 2022-01-12 15:33:04 +08:00
c9s
e5b4af53e6 all: clean up SubmitOrder fields 2022-01-11 01:36:19 +08:00
c9s
e04139a330 max: clean up and refactor max stream 2022-01-02 12:02:36 +08:00
c9s
cfd68fdd1d all: change trade id to uint64 2021-12-23 17:49:18 +08:00
c9s
fd2928fc82 types: add maker/taker fee rate fields to the account struct 2021-06-16 13:04:23 +08:00
c9s
8c3992d514 max: no need to check order volume separately 2021-06-16 13:02:21 +08:00
c9s
fdf1ee9258 max: use precision -1 to trim zeros 2021-06-16 13:02:21 +08:00
c9s
5fd0ab4cd3 skip client order id when no client order is given 2021-06-07 01:03:21 +08:00
c9s
291fdbaf25 optimize max submit order api priority 2021-06-07 01:03:09 +08:00
c9s
ea78c0308b add LocalSymbol field for exchange specific symbol 2021-05-27 00:05:43 +08:00
c9s
967c7e9f9d xbalance: add withdrawal options 2021-05-26 23:24:05 +08:00
c9s
57a78777df move Time type to types.Time 2021-05-21 00:10:53 +08:00
c9s
c4ccd8094f make max client order id factory public 2021-05-18 09:10:43 +08:00
c9s
fd6fe56f32 implement withdrawal request on binance 2021-05-12 02:15:22 +08:00
c9s
ff7ead9bdf fix max withdrawal address bug 2021-05-12 01:21:04 +08:00
c9s
61319fb4ff implement Withdrawal method on max exchange 2021-05-12 00:23:13 +08:00
c9s
a70d5cbcdc fix kline sync conditions 2021-05-05 16:33:15 +08:00
c9s
8fea2022e5 adjust rate limit for backtest data syncing 2021-05-02 17:46:08 +08:00
c9s
e87c2e271f add broker id on max 2021-04-28 19:24:07 +08:00
David Chang
f884fcd45c fix: add ioc trade type to order type 2021-04-12 14:35:46 +08:00