a) Add another virtual exchange that works only for futures, yet another one for swap.
b) Add a marketType parameter to all methods of the existing exchange.
The first one is closer to the native APIs provided by most exchanges.
The second one is more user friendly in my opinion.
a) Add another virtual exchange that works only for futures, yet another one for swap.
b) Add a marketType parameter to all methods of the existing exchange.
The first one is closer to the native APIs provided by most exchanges.
The second one is more user friendly in my opinion.