Open thistleknot opened 3 years ago
The original code of stock.py is reporting syntax error! I have raised a pull request. Since the author did not respond to you, I am not sure whether he will attend to my pull request.
Can you kindly help me ?
You downloaded the web page that hosts the code vs the code. I recommend copying and pasting the code vs using curl or wget.
I won't he helping w similar issues in the future. This is a rookie mistake that is easily identified by simply looking at the file your trying to run.
On Thu, Aug 26, 2021, 5:54 AM Blessvskp @.***> wrote:
The original code of stock.py is reporting syntax error! I have raised a pull request. Since the author did not respond to you, I am not sure whether he will attend to my pull request.
Can you kindly help me ? [image: Stock py_Capture] https://user-images.githubusercontent.com/87814655/130950565-659981a6-9061-44de-9474-cf6ee44f709f.JPG
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dataman-git/codes_for_articles/issues/1#issuecomment-906300817, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHKKOXA33YLUY5YCVTREBLT6YMOPANCNFSM43DF3TPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Hello,
Thanks for your kind reply.. Kindly be sympathetic to this old man of 64 years trying to pick up new things tirelessly! Hence please cooperate.
I tried several stock market packages on Github, wasting my precious time. My observation is that on Github, 90% of packages posted are untested and contain omissions or mistakes. Hence they are unusable!
What use is a package when it is unusable?
Developers of packages, in order to make the packages usable, should give in detail, the requirements and installation method of packages posted by them on Github. This saves a lot of effort for users.
Even prior to receiving your kind reply, I copied and pasted your code and ran it. Your code, so far, has an omission. "Import ta-lib" statement is missing and as a result I came across "ta module missing" error message. I included the said statement. Then new problems cropped up. If I use "ta-lib" to run the modified package by adding the missing statement, stock.py syntax error message is appearing. "-" in ta-lib is not accepted. I renamed it to talib. "talib Not found" error message is coming. I am stuck up here. I am unable to import ta-lib and I don't know how to manage it.
I have installed the ta-lib package in the anaconda environment that is not accessible from the cmd of windows. There is only one source for whl packages on the entire web! I found 17 ta-lib packages on this single source web page and I am not sure which of these 17 packages meets my requirements. I tried to install 3 ta-lib packages from cmd. I got "NOT A SUPPORTED WHEEL ON THIS PLATFORM" Documentation for these whl packages is not available on the web.
All this is leading to colossal waste of time for the end user of the package! Package developers can help to avoid this wattage of human hours by giving instructions as stated above.
I earnestly request you to help me and others who may want to use the valuable package developed by you, by ensuring that the package is usable without making any changes to the package at the end user side.
I hope that this will bring your kind attention to the ordeal faced by end users. I request you to do the needful by modifying and help me to use your package by correcting and testing the package/code yourself first and giving usage and installation instructions.
I once again thank you for your valuable precious time.
Regards.
Dr. Sai
On Thu, 26 Aug 2021, 4:35 pm Turning out data tricks since 2006!, < @.***> wrote:
You downloaded the web page that hosts the code vs the code. I recommend copying and pasting the code vs using curl or wget.
I won't he helping w similar issues in the future. This is a rookie mistake that is easily identified by simply looking at the file your trying to run.
On Thu, Aug 26, 2021, 5:54 AM Blessvskp @.***> wrote:
The original code of stock.py is reporting syntax error! I have raised a pull request. Since the author did not respond to you, I am not sure whether he will attend to my pull request.
Can you kindly help me ? [image: Stock py_Capture] < https://user-images.githubusercontent.com/87814655/130950565-659981a6-9061-44de-9474-cf6ee44f709f.JPG
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/dataman-git/codes_for_articles/issues/1#issuecomment-906300817 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABHKKOXA33YLUY5YCVTREBLT6YMOPANCNFSM43DF3TPA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android < https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dataman-git/codes_for_articles/issues/1#issuecomment-906307551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU57D7ZGHU75DXAUINGKUZTT6YNX7ANCNFSM43DF3TPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Dear Dr. Sai: Python dependencies can result in discontinuity if there is any update in the imported modules. For this tutorial, I incorporated the class code from ta-lib in stock2.py. It does not need to import "ta-lib" and you can replace stock.py with stock2.py. It still needs the 'yfinance' module and 'streamlit' module. You are advised to 'pip3 install streamlit.
https://github.com/dataman-git/codes_for_articles/blob/master/stock2.py
I read your article on medium
https://medium.com/swlh/a-technical-guide-on-rnn-lstm-gru-for-stock-price-prediction-bce2f7f30346
Modified part of the code to accept volume
but when I get to this part, I'm confused how to modify the hidden layers