The key to success in trading is discipline and risk management.
Object-oriented programming is an exceptionally bad idea which could only have originated in California.