about actions the actions could be more than 3 but not on your vision about make actions ...
for example if u mean we should make diff action for buy BTCUSDT and ETHUSDT ... instead of use diff actions u should change ur structures because im sure one of ur biggest issue hear is leakage , logically ur structure lead to leakage in python
about others issue again ur problem is again using simple educational structure ...
these kinda codes are only usefull for show on Git and stack ...
actually ur code can be educational but im sure u cant earn even 1 cent in real world with this code