nomiizz / kryptooracle Goto Github PK
View Code? Open in Web Editor NEWA Real-Time Cryptocurrency Price Prediction Platform Using Twitter Sentiments
A Real-Time Cryptocurrency Price Prediction Platform Using Twitter Sentiments
Step 2, twitter var file is missing. I took the one from here and renamed it: https://github.com/Drabble/TwitterSentimentAndCryptocurrencies/tree/master/data/twitter
The Twitter API access tokens provided in this repository is outdated and the code doesn't work. Is there a way to provide an updated version.
Cannot run the getvar method, there is no way to create a var.csv file in the code, and there is no var.csv file structure ,please give the var.csv file or the way to create var.csv file
the error msg:
Traceback (most recent call last):
File "D:/code/KryptoOracle-master/demo/cleanedtwttesintomulfiles.py", line 84, in
add_new_crypto(CURRENCY_SYMBOL)
File "D:/code/KryptoOracle-master/demo/cleanedtwttesintomulfiles.py", line 67, in add_new_crypto
df_var = pd.read_csv("data/twitter/var.csv", sep=',', dtype={'LINE_COUNT': np.int32})
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 686, in read_csv
return _read(filepath_or_buffer, kwds)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 452, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 936, in init
self._make_engine(self.engine)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 1168, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 1998, in init
self._reader = parsers.TextReader(src, **kwds)
File "pandas_libs\parsers.pyx", line 382, in pandas._libs.parsers.TextReader.cinit
File "pandas_libs\parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'data/twitter/var.csv'
When I create a blank var.csv file : the error msg:
Traceback (most recent call last):
File "D:/code/KryptoOracle-master/demo/cleanedtwttesintomulfiles.py", line 84, in
add_new_crypto(CURRENCY_SYMBOL)
File "D:/code/KryptoOracle-master/demo/cleanedtwttesintomulfiles.py", line 67, in add_new_crypto
df_var = pd.read_csv("data/twitter/var.csv", sep=',', dtype={'LINE_COUNT': np.int32})
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 686, in read_csv
return _read(filepath_or_buffer, kwds)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 452, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 936, in init
self._make_engine(self.engine)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 1168, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "D:\anaconda\envs\twitter\lib\site-packages\pandas\io\parsers.py", line 1998, in init
self._reader = parsers.TextReader(src, **kwds)
File "pandas_libs\parsers.pyx", line 540, in pandas._libs.parsers.TextReader.cinit
pandas.errors.EmptyDataError: No columns to parse from file
Is this still live? : APP_KEY = 'mPQKoRwd2Pb9qpQyQmyG5s8KR'
APP_SECRET = 'HLvIhusvfzDLKaRXY8CnZGP143kp3E3f2KqQBIEMfVL5mOxZjq'
OAUTH_TOKEN = "3459248236-0XPtHldG3ou6BfpTwaKWnOL2ywFk2niQekLwE7K"
OAUTH_TOKEN_SECRET = "08Vy2wuOkp7AmuC3rbjCHFJ94MLG2sWqdvGQtoiXmkVKr"
Greetings, I'm writing to ask how I build or what the bitcoin_currency_grouped.csv file is made of. I appreciate your fast response.
Hi.
We have a problem using plotly real-time streaming service.
https://plotly.com/python/v3/streaming-tutorial/
Can i get some advise about it?
Hi,
Thanks a lot for this amazing work!
I have a small request: by the end of notebook 4 you reference a file named 'streamer/stream_crypto.js' that is not present in the repository and is needed to run the script below.
Could you also upload this script?
Kind regards,
Steven
Hi I didn't find the file "streamdata.txt" in code "06_Realtime_Time_Series". what should I do.
I had some problems in the last part of file "04_TwitterSentimentAndCryptocurrencies" in running stream.open().
Hi, just a note that I sped up the preprocessing part of step 1 by approximately 3000 times (from 14it/s to about 45000) by changing "d.loc[i, 'Text'] = text" to "d.at[i, 'Text'] = text". Thought it might help you.
Hi! I'm looking to fix this error in part 4: "not enough values to unpack (expected 2, got 0)"
The code is: stream_id_crypto, stream_id_tweets = tls.get_credentials_file()['stream_ids'][:2]
Do you know how I can go about fixing this? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.