Commit Graph

370 Commits

Author SHA1 Message Date
wphan
6a5ae59b00 stricter types in tradesPublisher 2024-01-05 15:35:14 -08:00
Nour Alharithi
d239582e52 fix trades publisher typo 2024-01-05 12:00:09 -08:00
wphan
98484cff64 bump sdk fix build 2024-01-02 10:58:34 -08:00
Nour Alharithi
42f8ecea7d small log changes 2023-12-27 18:22:41 -08:00
Nour Alharithi
343344356e Merge pull request #59 from drift-labs/multiple-redis-clients
Multiple redis clients for dlob server
2023-12-27 13:55:50 -08:00
wphan
e8d0a7127d fix 0 market 2023-12-27 12:41:37 -08:00
wphan
3365644fe9 fix env vars as 0 2023-12-27 09:09:29 -08:00
wphan
f67c0a6603 remove poison pill 2023-12-26 19:59:30 -08:00
Nour Alharithi
3ffb6e7330 rotate redis connecitons 2023-12-26 13:07:40 -08:00
Nour Alharithi
b9192e543e unfinished commit 2023-12-26 10:52:16 -08:00
Nour Alharithi
61d1d4c6f8 better env var parser 2023-12-26 10:40:37 -08:00
wphan
90d8347791 fix no markets specified behavior 2023-12-26 10:21:16 -08:00
wphan
99efea94af only default to all markets if neither env vars are specified 2023-12-24 02:03:53 -08:00
wphan
dc4426268b tested 2023-12-24 01:58:43 -08:00
wphan
eb4faa6cf1 pass list of markets into DLOBSubscriberIO 2023-12-24 01:35:17 -08:00
wphan
70d9227b6c take in perp and spot markets from env var 2023-12-23 15:14:49 -08:00
wphan
bb18567b83 log webhook error 2023-12-20 16:18:35 -08:00
wphan
746ca73c5c must use order subscriber 2023-12-18 15:40:07 -08:00
wphan
b318bc7a54 dlob server self update 2023-12-18 15:36:59 -08:00
Nour Alharithi
4c28f8da61 server lite undefined guard 2023-12-16 08:48:29 -08:00
Nour Alharithi
b2641482e3 server lite handle start-up 2023-12-15 18:26:14 -08:00
wphan
9d857385c4 add implementation 2023-12-15 16:44:26 -08:00
wphan
0db35808fc example 2023-12-15 16:23:42 -08:00
Nour Alharithi
8a49c1bc7f add back resubTimeoutMs 2023-12-15 13:09:35 -08:00
Nour Alharithi
a8fd22d1dd undefined guard and remove resubscribe for drift client 2023-12-15 13:06:44 -08:00
Nour Alharithi
1e9e3caccc strip off ui from path in server lite 2023-12-14 18:19:31 -08:00
Nour Alharithi
7427c0cdf8 Merge pull request #52 from drift-labs/server-lite
Server lite
2023-12-14 17:13:25 -08:00
Nour Alharithi
1760d6f0c4 fix circular references 2023-12-14 16:04:24 -08:00
Nour Alharithi
aa7df63625 phoenix fix 2023-12-12 14:14:47 -08:00
Nour Alharithi
6ee967933f fixes 2023-12-12 11:27:22 -08:00
Nour Alharithi
f506950dd6 server lite 2023-12-12 11:25:28 -08:00
Nour Alharithi
f00be8945e prettify 2023-12-12 09:56:30 -08:00
Nour Alharithi
59b88f753d send heartbeat and detect redis cache better 2023-12-12 09:56:14 -08:00
Nour Alharithi
436e63dbd5 proper memory management 2023-12-12 09:11:02 -08:00
Nour Alharithi
43dfc3a865 remove unhandled promise process 2023-12-12 07:36:08 -08:00
Nour Alharithi
f3a1e9e22d per message deflate false 2023-12-12 06:32:30 -08:00
Nour Alharithi
15579e1b2a remove redis config 2023-12-11 18:56:19 -08:00
Nour Alharithi
c1a5afe3d7 possible memory leak fixes 2023-12-11 18:52:46 -08:00
Nour Alharithi
54d463f84e additional ws connection logging 2023-12-11 16:15:30 -08:00
Nour Alharithi
92916e6b6d fixing premature writeHead 2023-12-11 09:34:23 -08:00
Nour Alharithi
41728ad1f7 change cache hit metric 2023-12-11 08:11:39 -08:00
Nour Alharithi
1324465d33 resub timeout on publisher ws 2023-12-11 07:05:04 -08:00
Nour Alharithi
27bfef5a1e try catch for l2 and no ping/pong 2023-12-11 06:51:41 -08:00
Nour Alharithi
21c3e8ca8e cache consistent stringify 2023-12-10 15:20:01 -08:00
Nour Alharithi
ad1ef693fe metrics counter 2023-12-10 14:34:18 -08:00
Nour Alharithi
abc23a01ae slot check before using redis 2023-12-09 16:49:32 -08:00
Nour Alharithi
5493351f40 fetch from redis 2023-12-08 17:09:50 -08:00
wphan
8e6af84eff fix metrics name 2023-12-08 13:38:44 -08:00
wphan
07f430dfe9 add account_updates_per_second to metrics 2023-12-08 10:45:14 -08:00
wphan
b3f69ff5a5 bump sdk, fix ws msg ts metric 2023-12-07 23:57:00 -08:00