Commit Graph

70 Commits

Author SHA1 Message Date
c9s
96362a4936 max: add rewards api and example 2021-02-22 18:45:44 +08:00
c9s
0ba595bd55 Fix trade sync for self trades
MAX uses one single trade for presenting self trade.

BINANCE uses two trade records for presenting self trade. the trade
creation time are the same.
2021-02-18 17:37:49 +08:00
c9s
43c7da59f8 add self trade creator program 2021-02-18 16:18:47 +08:00
c9s
008b606121 fix streambook usage 2021-01-25 14:21:19 +08:00
c9s
b99c01a03f fix stream book usage 2021-01-25 14:13:39 +08:00
c9s
1aefbbfddc improve orderbook validation error 2021-01-25 13:53:11 +08:00
c9s
6a6dacd595 fix binance depth snapshot updating 2021-01-23 16:59:51 +08:00
c9s
ad4226f35b support margin order creation 2021-01-19 23:31:04 +08:00
c9s
48083151aa turning margin mode 2021-01-19 23:31:04 +08:00
c9s
54c75d4d6e add skeleton for binance margin example 2021-01-19 23:31:04 +08:00
c9s
638fd1bb99 print balance 2020-12-28 16:24:49 +08:00
c9s
f56318c9b6 add public only mode to stream 2020-12-21 15:43:54 +08:00
c9s
7516d546a8 add binance streaming book example 2020-12-21 14:48:57 +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
58265d14f9 move cmdutil package 2020-10-21 15:58:58 +08:00
c9s
3d5507a053 move files into pkg 2020-10-11 16:46:15 +08:00
c9s
0ddab38dc5 examples/max-eqmaker: fix arg type 2020-10-10 12:31:27 +08:00
c9s
9111cc700b examples/max-eqmaker: fix log format call 2020-10-10 12:28:34 +08:00
c9s
7cada295b8 add max-orders example 2020-10-10 11:26:25 +08:00
c9s
f9a3863a95 add max-eqmaker 2020-10-10 11:26:16 +08:00