Closed rizer1980 closed 4 months ago
At first I was just going to fix this #4807 bug. douggie, author of #4785, disappeared for a long time.
But when I saw what a mess it turns out after adding SPOT, FUTURES, INVERSE_FUTURES, PORTOLIO_MARGIN and three more have SANDBOX options.
Then I decided to rework this moment into enum. 4 enums and one SANDBOX option for all.
breaks compatibility a little for futures users, but not spot.
At first I was just going to fix this #4807 bug. douggie, author of #4785, disappeared for a long time.
But when I saw what a mess it turns out after adding SPOT, FUTURES, INVERSE_FUTURES, PORTOLIO_MARGIN and three more have SANDBOX options.
Then I decided to rework this moment into enum. 4 enums and one SANDBOX option for all.
breaks compatibility a little for futures users, but not spot.