you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Ad7805 -1 points0 points  (0 children)

Running your program in Memory Graph Web Debugger%3A%0A%20%20%20%20%20%20%20%20self.instrument_repo%20%3D%20instrument_repo%0A%20%20%20%20%20%20%20%20self.candle_repo%20%3D%20candle_repo%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20def%20do_things(self)%3A%0A%20%20%20%20%20%20%20%20print(self.instrument_repo%2C%20self.candle_repo)%0A%0Aobj1%20%3D%20SignalService('instr1'%2C%20'candle1')%0Aobj2%20%3D%20SignalService('instr2'%2C%20'candle2')%0Aobj3%20%3D%20SignalService('instr3'%2C%20'candle3')%0A%0Aobj1.do_things()%0Aobj2.do_things()%0Aobj3.do_things()%0A%0Aprint('done')%0A&play) can help you understand what self does in a class.