WillKoehrsen / Data-Analysis

Data Science Using Python
https://medium.com/@williamkoehrsen/
MIT License
5.16k stars 3.64k forks source link

Other exchanges #9

Closed pvjpavankumar closed 6 years ago

pvjpavankumar commented 6 years ago

First of all, your prediction algorithms are very good.

But the current implementation is looking into only NASDAQ I guess. How can I get the stock predictions for the tickers/symbols (companies) which are in other exchanges like Singapore, China, India, London ?

I tried with those. But they are not working.

WillKoehrsen commented 6 years ago

I am using the Quandl Wiki database which has over 3000 stocks. You can view the complete list under data/stock_list.csv.

I am definitely open to including other stock exchanges. If you can find them on Quandl I can put them in Stocker!

WillKoehrsen commented 6 years ago

Do you have any specific tickers in mind?

pvjpavankumar commented 6 years ago

Hi Will,

TECHM, INFY etc which are based out of India (NSE and BSE).

Regards

Pavan

On 23-01-2018 08:02, Will Koehrsen wrote:

Do you have any specific tickers in mind?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WillKoehrsen/Data-Analysis/issues/9#issuecomment-359653619, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzkP6Bc9f-_zYggZ8HQD1f-Ja_dpaNaks5tNUSigaJpZM4Rls2A.

WillKoehrsen commented 6 years ago

It looks like the National Stock Exchange of India (NSE) and Bombay Stock Exchange (BSE) are available on Quandl! The data looks like it will work, and I will try to integrate these.

WillKoehrsen commented 6 years ago

Stocker now supports both the NSE and BSE. When you want to use a different exchange, pass it as a keyword argument when instantiating the class.

techm = Stocker(ticker='TECHM', exchange='NSE')

pvjpavankumar commented 6 years ago

Great. Thanks a lot for the quick turnaround Will.

You saved my day :)

Regards Pavan

On Thu, Feb 1, 2018 at 3:22 AM, Will Koehrsen notifications@github.com wrote:

Closed #9 https://github.com/WillKoehrsen/Data-Analysis/issues/9.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WillKoehrsen/Data-Analysis/issues/9#event-1451760469, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzkP6H_BbXPOU3_LPHDilsKJ_IUO3f5ks5tQOCbgaJpZM4Rls2A .

garagnoth commented 6 years ago

Would it be possible to include IDX? Tried using pandas_datareader instead of Quandl but failed.

Did that by adding parameter to the init function where user can select whether to use quandl or pandas_datareader: try: if ABC == 'quandl': stock = quandl.get('%s/%s' % (exchange, ticker)) elif ABC == 'pdr': stock =...

pvjpavankumar commented 6 years ago

Hi,

Thanks. I will test this.

Regards Pavan

On Sat, Mar 3, 2018 at 1:06 PM, garagnoth notifications@github.com wrote:

Would it be possible to include IDX? Tried using pandas_datareader instead of Quandl but failed.

Did that by adding parameter to the init function where user can select whether to use quandl or pandas_datareader: try: if ABC == 'quandl': stock = quandl.get('%s/%s' % (exchange, ticker)) elif ABC == 'pdr': stock =...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WillKoehrsen/Data-Analysis/issues/9#issuecomment-370122520, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzkPxBGbf1dC4EEWyWB5U2aemFoG86yks5tajLbgaJpZM4Rls2A .