Add docstrings to functions

This commit is contained in:
Jacob Plaster
2018-12-05 15:43:10 +00:00
parent 43ad3d29c7
commit cecf9edcce
2 changed files with 141 additions and 2 deletions

View File

@@ -137,5 +137,5 @@ class Order:
def __str__(self):
''' Allow us to print the Order object in a pretty format '''
return "Order <'{0}' mtsCreate={1} {2}>".format(self.symbol, self.mtsCreate,
self.status)
return "Order <'{}' mtsCreate={} status='{}' id={}>".format(self.symbol, self.mtsCreate,
self.status, self.id)