Commit Graph

36 Commits

Author SHA1 Message Date
c9s
aedd3e79d5
maxapi: drop unused mustParseURL 2022-06-17 12:52:22 +08:00
c9s
ce63723ff0
maxapi: drop unused functions 2022-06-17 12:52:06 +08:00
c9s
500dc64ed4
maxapi: drop unused v2 order api 2022-06-16 16:05:21 +08:00
c9s
0aa606ebcb
maxapi: drop unused v2 api 2022-06-16 16:03:12 +08:00
c9s
c891cc56e3
max: fix trades/orders parsing 2022-05-27 19:48:03 +08:00
c9s
d792f3b83b
max: drop unused url ref vars 2022-05-27 16:46:56 +08:00
c9s
d9e10b7fcd
max: integrate v3 orders api 2022-05-26 19:52:38 +08:00
c9s
c6ede883ce
add max v3 api 2022-05-24 17:40:00 +08:00
c9s
a66bae47fe
add v3 order endpoint 2022-05-23 18:34:08 +08:00
c9s
93b10f20ac maxapi: fix fromID to uint64 2022-04-21 13:18:00 +08:00
c9s
f9df65a2f8 maxapi: add generated files 2022-04-20 13:20:54 +08:00
c9s
4d8997a8d5 max: pass context background to the request 2022-04-20 12:18:35 +08:00
c9s
5cba6a6133 maxapi: use requestgen to query and submit orders 2022-04-20 12:18:35 +08:00
c9s
93b19faa3a refactor newAuthenticatedRequest 2022-04-20 12:18:35 +08:00
c9s
bf4a0169bd max: update client api 2022-04-20 12:18:35 +08:00
c9s
59cc4d7243 max: improve max closed order query 2022-01-27 00:02:35 +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
e08b2e9a85 fix max exchange order status conversion and document the order status 2021-12-26 15:58:12 +08:00
c9s
a8048703b3 max: fix order delete refurl 2021-06-27 11:33:00 +08:00
c9s
657e1dc9bf maxapi: pre-parse relative url and cache them 2021-06-16 13:04:05 +08:00
c9s
48c84824cf maxapi: volume, side, market is always required for creating orders 2021-06-16 13:04:05 +08:00
David Chang
c9198d498e feature: add ioc order type support to max exchange 2021-04-11 12:29:23 +08:00
c9s
3c5071b87e use uint32 for groupID 2021-03-22 17:32:22 +08:00
c9s
814a77ea39 xmaker: improve balance checking 2021-03-21 12:55:33 +08:00
c9s
837934e690 add post_only order type 2021-03-21 12:55:33 +08:00
c9s
cad8349a1a remove state OrderStateFinalizing from the order state
since we are only interested in the closed orders
2021-03-18 01:15:49 +08:00
c9s
33213746f4 cmd: add --all option to the cancel command 2021-03-14 10:29:45 +08:00
c9s
858a8d84bb groupID is an int64 field 2021-01-23 17:17:46 +08:00
c9s
275aa9494a support canceling orders on max 2020-12-29 16:00:03 +08:00
c9s
a4555a2b7b implement QueryClosedOrders 2020-11-05 11:14:14 +08:00
c9s
145264aae4 cancel orders and re-submit maker orders 2020-10-26 00:26:17 +08:00
c9s
336fb4d25b max: fix order cancel request payload 2020-10-25 22:41:54 +08:00
c9s
de11ef10f5 return created order objects from SubmitOrders method 2020-10-25 19:22:22 +08:00
c9s
308427416a Add more exchange order features
- use uuid for client order id
- add stop limit and stop market order types
- add order convert functions
- improve submit orders
2020-10-25 19:22:22 +08:00
c9s
3d5507a053 move files into pkg 2020-10-11 16:46:15 +08:00