Commit Graph

75 Commits

Author SHA1 Message Date
moosecat
a55be980fe send indicative quotes to mainnet (#374)
* Bumping drift-common to ab538e0c1efbf64a3dfecf2af16e5a75aab81400

* Bumping drift-common to cf7f6ec63febe0d3b661f187e4e26e729797c4d0

* Bumping drift-common to 149f5efe5444d89b53b5370dcea4a3115fec8c5f

* Bumping drift-common to c879f8a85bfcbaef1f1c6d9c6bf4a05e8970fa0a

* Bumping drift-common to d089c9ed7e7400a0f3ea98a0184a4e3bf273fcf5

* dlob add fetch indicative quotes (#372)

* dlob add fetch indicative quotes

* indicative ws stream

* prettify

* allow for oracle orders

* Bumping drift-common to 56331c89a2285a04cc86a639e0fceeda03366f43

* add console log for debugging indicative

* add indicative in l2 queries

* add more console logging for debugging

* bump common and remove logging

* Bumping drift-common to 43104f473f43111f8cc34733a43a85b5fef7f778

* Bumping drift-common to 6d75612fa1fab858daa90cdb91f0c8c9edbc8242

* Bumping drift-common to 3a42e9665c04a27bcf92e7faa50c168690312880

* Bumping drift-common to 20351d45f2644fb7194ffce441d3d2cb8d6c6b4b

* Bumping drift-common to 04216dfc03aa659db24fc24ba42aa8a4e9a8bb9a

* Bumping drift-common to ad20bbe9d3a262c547f66ec464306fabac539fd8

* Bumping drift-common to 5539ad5f3849b19e1b7106f783a16a182fc9a411

* Bumping drift-common to 8b7e118f1aed9d1d7a786cd165f0ceef2a07297c

* Bumping drift-common to 52b7948cebb0ed6bc1f8278b0f549366a1be3ba0

* Bumping drift-common to 26a603c2d78f7f662cb872075bdff1fd6b75ec43

* Bumping drift-common to 683bfc5cefe5097a257511507f22831f185f1549

* Bumping drift-common to b66eaade382a58b563fdc5ee6c03bc98e5bb2195

* Bumping drift-common to 9a48bea13265723c5d17377e68aaf9984b24c722

* Bumping drift-common to a147ab129f6eb59d77889ac2b7a915ca910d83dd

* Bumping drift-common to 65891abfcd5f59c726aecb211ae77ca38394bdf1

* Bumping drift-common to 540cdbbc9b322990d288af8f4f3183f2c96087b7

* Bumping drift-common to 978b8a03b59d0dc24d1269f319ff6a7ff711775a

* Bumping drift-common to af74d01953db3683bca585c2111910cbbe171a72

* Bumping drift-common to cd684e22082438f0cb784ec234fd9e5d3cd63bb2

---------

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-28 10:16:44 -07:00
wphan
b6c11a15fe separate grpc endpoint 2025-01-31 11:22:53 -08:00
wphan
b29a68fdfc properly apply pmm mode 2025-01-31 09:52:29 -08:00
wphan
3c7a934214 pmm dlob server 2025-01-30 14:43:12 -08:00
Nour Alharithi
83ee5b790a slot subscriber resub 2025-01-22 16:30:15 -08:00
wphan
e8feb96ee5 disable grpc for general driftclient 2024-12-05 15:45:25 -08:00
wphan
7e9702a434 add grpc channel keepalive options 2024-12-05 13:06:16 -08:00
Nour Alharithi
9271bd8fd6 use grpc for drift client for dlob publishers 2024-12-04 19:37:11 -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
815c3c3ca1 add /debug to dlobPublisher 2024-12-02 17:38:18 -08:00
wphan
fa8fd24fd4 reduce dlob publisher health check grace period, clean up logs 2024-11-27 11:00:34 -08: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
61e6854f30 switch over more redis clients to drift common clients 2024-10-24 13:46:47 -07:00
frank
bb83b4789b openbook integration (#208) 2024-08-07 09:47:25 -07:00
Nour Alharithi
8b6598c0d6 remove serum from spot markets 2024-07-31 08:55:19 -07:00
Jack Waller
ea52eb07ac Merge branch 'master' into jack/redis-migration 2024-05-23 14:24:14 +10:00
Jack Waller
304e1e9bd0 chore: update channel prefixes for pubsub 2024-05-22 14:06:54 +10:00
Nour Alharithi
e1336001ce socket fix 2024-05-16 16:43:06 -07:00
Nour Alharithi
c622775910 tighter phoenix interval 2024-05-16 06:58:38 -07:00
Nour Alharithi
c8405085e6 bulk account loader for phoenix 2024-05-16 06:40:08 -07:00
Jack Waller
956a031fec chore: update to common redis + top markers account flag 2024-05-16 12:39:44 +10:00
Nour Alharithi
f29767734d widen resync interval 2024-04-26 17:07:32 -07:00
Nour Alharithi
423b904a09 Merge pull request #130 from drift-labs/priority-fee-subscriber
cache priority fees
2024-04-04 14:50:53 -07:00
Nour Alharithi
3b808dd254 more comprehensive spot market inclusion 2024-04-04 13:26:14 -07:00
Nour Alharithi
ecf6c61ace better id rpc requests 2024-04-04 12:32:07 -07:00
Nour Alharithi
486401444c make frequency configurable 2024-04-04 12:06:07 -07:00
Nour Alharithi
4883a1ee29 cache priority fees 2024-04-04 12:00:35 -07:00
Nour Alharithi
3f62309312 base precision correction for spot filler 2024-04-03 14:05:19 -07:00
Nour Alharithi
88ec02634f graceful dlob publisher exit + cleanup 2024-04-02 15:00:15 -07:00
Nour Alharithi
7227928184 undefined guard fill record id 2024-03-21 13:56:01 -07:00
Nour Alharithi
e86edb443a add fill record id to trades 2024-03-21 13:53:13 -07:00
Nour Alharithi
a21da890e5 ignore markets for slot diff restart 2024-03-13 12:59:06 -04:00
Nour Alharithi
a920160ca8 switching to confirmed + trades resource reduction 2024-02-22 09:18:11 -08:00
Nour Alharithi
e4ed481422 consolidate conditions for killswitch 2024-01-23 13:25:57 -08:00
Nour Alharithi
5fd1f7172d remove market slot kill switch 2024-01-22 18:03:28 -08:00
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
Nour Alharithi
42f8ecea7d small log changes 2023-12-27 18:22:41 -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
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