Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No stocks returning for buy or sell. #6

Open
ryanbeymer opened this issue Dec 26, 2019 · 1 comment
Open

No stocks returning for buy or sell. #6

ryanbeymer opened this issue Dec 26, 2019 · 1 comment

Comments

@ryanbeymer
Copy link

I was able to get the script running with adjusting #4 ta.volatility.bollinger_mavg in the code.

However, when I run the script I was unable to get any results to generate. I threw a couple of stocks in the watchlist to get something to either generate a buy or sell, but nothing.

Current Watchlist: ['MSFT', 'SBUX', 'F', 'VOO', 'COST', 'DGAZ', 'VUG', 'VTI', 'WMT', 'DIS', 'SPY', 'UBER', 'VSLR', 'PLUG', 'HHR', 'AMZN', 'SNAP', 'CY', 'FIT', 'GPRO', 'AAPL', 'GE']

Does anyone have something that I can throw at the script to see it working?

Note: I do have #r.order_buy_market(potential_buys[i], num_shares) and #r.order_sell_market(symbol, shares_owned) commented out to prevent execution of the script.

@cmcintosh
Copy link

Yes you could at a print statement after the following lines:
for symbol in portfolio_symbols:

Something like:
print("Scanning " + symbol)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants