-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collateral does not work for delegated trading with subaccount ID #109
Comments
I think this issue is caused by gateway missing some market data subscriptions. to fix, start gateway with a gateway used to subscribe to all drift markets but that was causing rate-limit issues and unnecessary resource use for many users, so now gateway only subscribes to fixed set of markets determined at startup. maybe could add a flag like |
Can we get collateral for markets after subscribing to them via websockets? Subscribing to all markets on start isn't great, as you pointed out, but later it's useful to get collateral for any market available. |
Subscription to usdt stopped working today btw, gateway just terminates without any errors when trying to subscribe to usdt. Probably it's a temporary error caused to drift program, idk. |
maybe this is related to recent program update: pls try https://github.com/drift-labs/gateway/releases/tag/v1.3.4 and lmk if its still an issue. |
yeah adding some dynamic handling for the market subscriptions will be good. In most cases, the set of markets being traded/used as collateral is known beforehand. |
unfortunately the same gateway behavior when trying to subscribe to usdt 🙁 |
can you try run with |
there was an issue with latest docker image, hopefully its resolved with latest if instead you built gateway locally and linked drift-ffi-sys, then please update that: https://github.com/drift-labs/drift-ffi-sys/releases/tag/v2.110.0 |
It's works fine, thank you. |
With delegated trading, are collateral and leverage supposed to work?
The text was updated successfully, but these errors were encountered: