Commit Graph

1276 Commits

Author SHA1 Message Date
c9s
3e616c5fac convert and parse binance margin account structure 2021-02-28 15:06:20 +08:00
c9s
32c2780b16 convert binance margin account data into the global structure 2021-02-28 15:06:20 +08:00
c9s
b71ea867c5 ignore sync if sync service is nil 2021-02-28 15:05:49 +08:00
YC
4730efefa3 Merge pull request #136 from c9s/ftx/print-subscribed-message 2021-02-28 09:07:11 +08:00
ycdesu
f7ef4a8028 cmd: create orderbook command to print orderbook snapshot and updates 2021-02-27 19:28:01 +08:00
ycdesu
883b7ef028 ftx: handle message in a new struct 2021-02-27 19:27:44 +08:00
ycdesu
d9ad022a81 ftx: define subscribed msg 2021-02-27 19:27:37 +08:00
ycdesu
73d05fe7bb ftx: send subscriptions when connected 2021-02-27 18:42:46 +08:00
ycdesu
2a0bd5f962 ws: make Reconnect() public 2021-02-27 18:42:45 +08:00
ycdesu
282ce3ee99 cmd: move simple session factory to cmd/utils.go 2021-02-27 18:42:45 +08:00
Yo-An Lin
5196df9620 Merge pull request #134 from c9s/ftx/balance-testing-cmd
feature: balance testing cmd
2021-02-27 18:16:20 +08:00
ycdesu
fd5574b006 cmd: add balances testing cmd
Only support ftx
2021-02-27 17:24:59 +08:00
ycdesu
c52f918dd4 ftx: add missing types.exchange methods 2021-02-27 17:24:08 +08:00
ycdesu
45da7ca1f5 cmd: add ftx flags 2021-02-27 17:23:59 +08:00
ycdesu
060f598a86 module: go mod tidy 2021-02-27 17:08:04 +08:00
YC
78e647ca2e Merge pull request #135 from c9s/feature/base-websocket-client
Feature: base websocket client
2021-02-27 17:04:45 +08:00
ycdesu
8b838b9a59 ftx: make logger private 2021-02-27 17:01:20 +08:00
ycdesu
b28d9631ab ftx: return ftx stream but hasn't implement it yet 2021-02-27 16:48:50 +08:00
ycdesu
bf97af34f3 ws: implement base websocket client 2021-02-27 16:48:50 +08:00
c9s
03d7290e03 pull out time range group by clause generator 2021-02-26 17:22:08 +08:00
c9s
28a8ab34a2 pull out time range column name 2021-02-26 16:16:41 +08:00
c9s
02e7451ed6 bump version 2021-02-26 16:16:34 +08:00
c9s
1d29009133 fix max trade query ordering and sql query ordering for query last 2021-02-25 13:55:04 +08:00
Yo-An Lin
3d17e4d2b2 Update README.md 2021-02-25 12:49:25 +08:00
c9s
854014f49a add currency position aggregation and tests 2021-02-24 10:46:42 +08:00
c9s
14830c442c refactor and implement reward sync and query 2021-02-23 22:53:00 +08:00
c9s
5a7cf05701 integrate reward service into the sync service 2021-02-23 16:39:48 +08:00
c9s
c02213c8e5 upgrade next 2021-02-23 12:58:23 +08:00
c9s
fb62af05a4 add global Reward type 2021-02-23 10:08:01 +08:00
c9s
887b39271a add migrations target to the dist prereq 2021-02-23 09:32:52 +08:00
c9s
14e0ecf313 chmod file 2021-02-23 09:32:34 +08:00
c9s
d64716feed add steps for testing migrations 2021-02-23 09:24:42 +08:00
c9s
b537afc4d9 add migration sql 2021-02-23 09:23:02 +08:00
c9s
55cb5bc578 add script for generating migration 2021-02-23 09:15:51 +08:00
c9s
96362a4936 max: add rewards api and example 2021-02-22 18:45:44 +08:00
c9s
507586b560 fix max websocket subscription 2021-02-22 17:36:30 +08:00
c9s
73cb80ee96 improve logging 2021-02-22 17:06:43 +08:00
c9s
21a4669905 adjust max query limiter and sync before running trader 2021-02-22 16:54:08 +08:00
c9s
e93b5a1868 add version command 2021-02-22 15:23:09 +08:00
c9s
6bde66825d add version target to the dist prereq 2021-02-22 15:19:03 +08:00
c9s
f7c952f8ca add version files 2021-02-22 15:16:12 +08:00
c9s
59d68e7f0d max: adjust trades limit to 1000 2021-02-22 15:03:15 +08:00
c9s
eaad414706 adjust max api call rate limiting 2021-02-22 15:01:05 +08:00
c9s
724dad70bb remove trade sync from environ init 2021-02-22 14:14:39 +08:00
c9s
84775652fe remove defer wrapper func 2021-02-22 13:49:26 +08:00
c9s
bcb18e0fe5 remove duplicated destroy call 2021-02-22 13:45:04 +08:00
c9s
e040c3fac7 add webview program 2021-02-22 13:43:59 +08:00
c9s
cdb7ce84c8 apply rate limit 2021-02-22 13:36:39 +08:00
c9s
dc2369e3d2 frontend: fix grid amount setting 2021-02-22 13:15:16 +08:00
c9s
6ef785cdc4 remove unused handleClose func 2021-02-21 20:11:25 +08:00