We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12727c2 commit 109e6d8Copy full SHA for 109e6d8
examples/overnight_hold.py
@@ -191,7 +191,7 @@ def run_live(api):
191
# Wait to buy
192
time_until_close = clock.next_close - clock.timestamp
193
# We'll buy our shares a couple minutes before market close.
194
- if time_until_close.seconds <= 9120:
+ if time_until_close.seconds <= 120:
195
print('Buying positions...')
196
portfolio_cash = float(api.get_account().cash)
197
ratings = get_ratings(
0 commit comments