Closed
Description
Is your feature request related to a problem? Please describe.
I need to replace the exchange with my mock server so that I can test the client for a load. Since there is a lot of hardcode in the code and a lot of coupling - to do this without crutches, patching is very difficult and time consuming.
I propose to make the initialization of the manager in this regard - more flexible.
Describe the solution you'd like.
To replace the exchange with your mock server, just specify exchange=Exchanges.LOCALHOST, exchange_type='dex'
(or cex
) when initializing the manager. exchange_type
must be specified only for Localhost
. You can also set websocket_base_uri
and max_subscriptions_per_stream
otherwise the default values will be applied.
Describe alternatives you've considered
No response
Additional context
No response