Commit Graph

297 Commits

Author SHA1 Message Date
Nour Alharithi
9271bd8fd6 use grpc for drift client for dlob publishers 2024-12-04 19:37:11 -08:00
Nour Alharithi
97509c7e60 remove unnecessary logging 2024-12-03 16:39:43 -08:00
Nour Alharithi
3c8ca58975 add back returning after cache hit 2024-12-03 16:35:42 -08:00
Nour Alharithi
bae6bfef80 fix return types 2024-12-03 14:46:18 -08:00
Nour Alharithi
669d4a48fd server lite uses new rotation 2024-12-03 14:33:21 -08:00
Nour Alharithi
0e32c92458 ws manager bug fix 2024-12-03 14:24:08 -08:00
moosecat
2a6899384c Nour/improved rotation (#290)
* improved rotation

* fix bugs

* only parse slot if necessary

* add metrics for ws source

* add select by recent slot to utils

* fix solana web3.js version

---------

Co-authored-by: wphan <william@drift.trade>
2024-12-03 13:47:02 -08:00
wphan
64be27d8eb add log if both USE_WEBSOCKET and USE_GRPC are provided 2024-12-03 09:33:03 -08:00
wphan
93d6bfb7c1 remove grpc impl, use sdk grpc OrderSubscriber 2024-12-03 09:28:43 -08:00
wphan
2f3f9f1c40 dlobPublisher: add metrics for dlob slot 2024-12-02 18:17:51 -08:00
wphan
7e748804be remove log 2024-12-02 17:46:43 -08:00
wphan
815c3c3ca1 add /debug to dlobPublisher 2024-12-02 17:38:18 -08:00
wphan
00e167da19 fix logs 2024-11-27 11:10:34 -08:00
wphan
fa8fd24fd4 reduce dlob publisher health check grace period, clean up logs 2024-11-27 11:00:34 -08:00
Jack Waller
e4a78db770 chore: null checks 2024-11-21 13:04:06 -05:00
Jack Waller
4b9b337a60 chore: update clients to be env vars 2024-11-21 12:22:47 -05:00
Jack Waller
d43d2d2591 chore: update trades to helius 2024-11-21 11:57:03 -05:00
Nour Alharithi
22a863ef6e more redis 2024-10-24 13:47:31 -07:00
Nour Alharithi
61e6854f30 switch over more redis clients to drift common clients 2024-10-24 13:46:47 -07:00
Nour Alharithi
2aaa6a50c6 bump to new drift common 2024-10-24 13:43:17 -07:00
Nour Alharithi
3743899810 invalidate delisted markets 2024-10-07 12:55:57 -07:00
Nour Alharithi
5c6e4d5f1b fix grpc bug 2024-09-26 09:53:23 -05:00
Nour Alharithi
064e69f9bf bump common 2024-09-26 09:51:48 -05:00
Jack Waller
f0269e5352 chore: decouple usermap in dlob 2024-09-18 15:51:16 +10:00
Nour Alharithi
e66de3fed7 use paused operation 2024-08-13 14:36:43 -07:00
Nour Alharithi
2115adf603 update non-cached to use safeguards for include vamm 2024-08-13 14:12:47 -07:00
Nour Alharithi
d9f92fbd7e bump yarn lock and add initialized guard for market 2024-08-13 13:52:08 -07:00
Jack Waller
e0246e8956 chore: allow for separate usermap cluster 2024-08-13 14:37:45 +10:00
lowkeynicc
f121de521e always use dlob redis client for unsettled (#233) 2024-08-12 22:33:51 -04:00
lowkeynicc
ea4fe97bad add extra protection from null 2024-08-12 21:33:09 -04:00
lowkeynicc
d66a7c0042 add logging + small bugfix in unsettled pnl script 2024-08-12 17:13:19 -04:00
lowkeynicc
bab84b58a1 Nick/pnl script 2 (#232)
* save work

* chunk usermap

* remove runningLocal

* add bottleneck + env vars

* add package
2024-08-09 18:40:32 -04:00
lowkeynicc
0f9521af30 Nick/usermap pnl script (#223)
* WIP unsettled pnl script

* update

* add commented out debugging stuff

* update script and create endpoint

* finalize

* rm test file

* try to fix package diff

* add marketIndex + fix logger

* fix package

* remove runningLocal logic
2024-08-07 17:39:24 -04:00
Nour Alharithi
6288370bcf move slot threshold back to 80 2024-08-07 11:07:18 -07:00
frank
bb83b4789b openbook integration (#208) 2024-08-07 09:47:25 -07:00
Nour Alharithi
f9fd110ebc change vamm threshold from 10 to 100 2024-08-07 09:46:19 -07:00
Jack Waller
94c8aaf1d8 chore: remove log 2024-08-05 14:29:11 +10:00
wphan
8aa31d03b1 limit the endpoints to measure response times for 2024-08-04 14:25:30 +02:00
Nour Alharithi
579d9bc805 preclude health check restarts and excluding vamm from prelaunch markets 2024-08-02 10:39:09 -07:00
Nour Alharithi
1945c43f5a remove l2 from server lite 2024-07-31 10:39:58 -07:00
Nour Alharithi
8b6598c0d6 remove serum from spot markets 2024-07-31 08:55:19 -07:00
Nour Alharithi
bdc4d655ab server lite add l3 2024-07-29 11:17:39 -07:00
Nour Alharithi
3de6dc8f55 revamp server lite 2024-07-26 15:29:16 -07:00
Nour Alharithi
064f596f61 add undefined guard 2024-07-10 16:16:45 -07:00
Nour Alharithi
ea50319a69 global cache 2024-06-26 21:24:58 -07:00
Jack Waller
1bad77478f chore: add a cached endpoint for polling 2024-06-25 13:14:29 +10:00
Nour Alharithi
8a72808c85 slot staleness for vamm orders remove from cache 2024-06-17 09:56:53 -07:00
Jack Waller
18f8eb37b7 fix: add gaurd to sanitise ws manager 2024-06-04 13:41:59 +10:00
Luke Steyn
ba79d7dbf2 Updated topMakers to return user accounts in buffer format 2024-05-24 16:21:07 +08:00
Jack Waller
a2c4dc44fb chore: update naming of top maker response 2024-05-23 16:42:10 +10:00