added the is_success property to the SimulatedTrading class

This commit is contained in:
fawce
2012-06-19 20:43:46 -04:00
parent 89e52c6758
commit a82d3852bd
+4
View File
@@ -325,6 +325,10 @@ class SimulatedTrading(object):
if blocking:
self.sim_context.join()
@property
def is_success(self):
return self.sim.read() and not self.sim.exception
#--------------------------------
# Component property accessors
#--------------------------------