Aplikasi Sentiment Analysis terhadap Trend Cryptocurrency pada Platform Twitter Menggunakan Library Textblob sebagai Alat Bantu Berinvestasi

Authors

  • Ricky Chandra Program Studi Teknik Informatika, Universitas Kristen Petra Surabaya
  • Kartika Gunadi Program Studi Teknik Informatika, Universitas Kristen Petra Surabaya
  • Stephanus Antonius Ananda Program Studi Teknik Informatika, Universitas Kristen Petra Surabaya

Abstract

Along with the rapid development of information technology, many digital communication tools make it easier for people to access or share information. Twitter is one of the social media that has more than 1.3 billion users and more than 500 million tweets or tweets every day. The uniqueness of Twitter limits the number of writings to 280 characters, making Twitter a social media that contains sentiments about something. The cryptocurrency alone gets 4.1 million hashtag exposures per hour and has 2225 unique tweets per hour on the Twitter platform. The number of tweets related to Cryptocurrency causes investors to lose in terms of time because they have to manually assess a tweet. To overcome this, an effort that can be realized is to classify sentiments. One of the Natural Language Processing methods that have been developed for sentiment classification is TextBlob. In this thesis, an application will be made with sentiment analysis features using the Textblob Library, request tweets data using the Tweepy API, visualization of tweets data in the form of pie charts, tables, and word clouds, features that display the market price and history of cryptocurrency coins using the CoinGecko API and YFinance. as well as tweets from selected accounts. TextBlob Library testing is done by classifying results with 100 data that have been labeled by 2 examiners who have more than 1 year of experience investing in cryptocurrencies, the results obtained are 35% of the data have similarities between the results with the second tester, the application is tested with Tweets data request according to keywords, as well as application testing to display visualizations of Tweets data. A correlation test was conducted between the price change of cryptocurrency coins in 24 hours with the results of the classification of Tweet data and the Tweet volume of several coins. The conclusion that can be drawn from the correlation test is that when Tweet volume increases from the previous day, there will be a trend where the coin will increase or decrease. The results of the application web page where the application can display tweet data according to keywords and display visualizations, as well as display the price and history of the cryptocurrency market according to the available input.

References

[1] Ahlgren, M. (2021). 50+ Statistik & Fakta Twitter.

https://www.websiterating.com/id/research/twitter-statistics/#

references

[2] Bahrawi. (2019). ONLINE REALTIME SENTIMENT

ANALYSIS OF TWEETS BY UTILIZING STREAMING

API FEATURES FROM TWITTER (1st ed., Vol. 9). Jurnal

Penelitian Pos dan Informatika.

http://dx.doi.org/10.17933/jppi.2019.090105

[3] Brahma, D. (2020). Perbedaan Antara Crawling dan

Scraping.

https://medium.com/@dede.brahma2/perbedaan-antara-crawl

ing-dan-scraping-98e64e0c6439

[4] CoinGecko. (n.d.). CoinGecko. Retrieved March 22, 2022,

from https://www.coingecko.com/id/tentang

[5] Corbet, S., Lucey, B., Urquhart, A., & Yarovaya, L. (2019).

International Review of Financial Analysis. Cryptocurrencies

as a financial asset: A systematic analysis, 62, 182-199.

https://doi.org/10.1016/j.irfa.2018.09.003

[6] Dumbleton, R. (n.d.). The Complete Guide to Sentiment

Analysis. Retrieved January, 2022, from

https://getthematic.com/insights/sentiment-analysis/

[7] Kaur, C., & Sharma, A. (2020). Twitter Sentiment Analysis

on Coronavirus using Textblob. EasyChair.

https://easychair.org/publications/preprint/Fd5m

[8] Loria, S. (2020). textblob Documentation, TextBlob. p. 1.

[9] Lawrence, A., Ryans, J. P., Sun, E., & Laptev, N. (2017).

Earnings Announcement Promotions: A Yahoo Finance Field

Experiment. SSRN Electronic Journal.

https://dx.doi.org/10.2139/ssrn.2940223

[10] Pallavicini, F., Cipresso, P., & Mantovani, F. (2016). Beyond

Sentiment: How Social Network Analytics Can Enhance

Opinion Mining and Sentiment Analysis. In Sentiment

Analysis in Social Networks. Elsevier Inc.

https://doi.org/10.1016/B978-0-12-804412-4.00002-4

[11] Perper, R., Dorsey, A., Yeung, J., Chow, A., Chu, G., Leung,

A., & Li, J. (2022, March 4). Internal Twitter Data Reveals

Crypto Tweeting Trends | HYPEBEAST. Hypebeast.

Retrieved March 7, 2022, from

https://hypebeast.com/2022/3/exclusive-twitter-data-cryptocu

rrency-trends-tweets-nfts-creators

[12] Ritetag. (2021). #cryptocurrency Twitter Hashtag Analytics.

Ritetag. https://ritetag.com/hashtag-stats/cryptocurrency

[13] Setiawan, W. (2017). Era Digital dan Tantangannya. 1-9.

http://eprints.ummi.ac.id/151/

[14] White, T. E., & Rege, M. (2022). SENTIMENT ANALYSIS

ON GOOGLE CLOUD PLATFORM (Vol. 21). IACIS.

https://doi.org/10.48009/2_iis_2020_

[15] Yahoo Finance API. (n.d.). Yahoo Finance API Specification.

https://www.yahoofinanceapi.com/

Downloads

Published

2022-08-29

Issue

Section

Articles