You will not be able to trade with RPi 4. IB offers only x86 linux package , it's impossible to run it on ARM processor. The only option is using of emulator but it is ridiculously slow. Some guys reported that it takes 1-2 minutes just to launch a browser in emulated windows envoronment.
And...