Skip to content

Commit 6dee4a4

Browse files
authored
Fix comments indicating incorrect timeframe
1 parent 8b15fe1 commit 6dee4a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/long-short.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def submitOrder(self, qty, stock, side, resp):
305305
print("Quantity is 0, order of | " + str(qty) + " " + stock + " " + side + " | not completed.")
306306
resp.append(True)
307307

308-
# Get percent changes of the stock prices over the past 10 days.
308+
# Get percent changes of the stock prices over the past 10 minutes.
309309
def getPercentChanges(self):
310310
length = 10
311311
for i, stock in enumerate(self.allStocks):
@@ -314,7 +314,7 @@ def getPercentChanges(self):
314314

315315
# Mechanism used to rank the stocks, the basis of the Long-Short Equity Strategy.
316316
def rank(self):
317-
# Ranks all stocks by percent change over the past 10 days (higher is better).
317+
# Ranks all stocks by percent change over the past 10 minutes (higher is better).
318318
tGetPC = threading.Thread(target=self.getPercentChanges)
319319
tGetPC.start()
320320
tGetPC.join()
@@ -324,4 +324,4 @@ def rank(self):
324324

325325
# Run the LongShort class
326326
ls = LongShort()
327-
ls.run()
327+
ls.run()

0 commit comments

Comments
 (0)