ebook img

CRYPTO PORTFOLIO TRACKER AND ALERT APPLICATION PDF

2022·0.85 MB·
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview CRYPTO PORTFOLIO TRACKER AND ALERT APPLICATION

doi.org/10.54473/IJTRET.2022.6506 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ CRYPTO PORTFOLIO TRACKER AND ALERT APPLICATION 1S. Harsha Vardhan, 1M. Sohan, 1M. Satya Abhiram, 2D. Lakshmi Rohitha 1UG Students, 2Assistant Professor Department of Computer Science and Technology, ACE Engineering College, Hyderabad, India. Corresponding Author: [email protected] Received on 7 June 2022 Accepted on 12 June 2022 ABSTRACT The objective of the paper is to build a platform for cryptocurrency investors, who purchase cryptocurrencies on different cryptocurrency exchange platforms where the investor can create his portfolio on the platform and track the real-time profit/loss of his total portfolio balance as well as in each cryptocurrency he has invested in and can also set reminders. With this platform, he can also link his WhatsApp to get notification alerts of his portfolio balance and profit/loss in real-time. This real-time notification alert feature is implemented with Django Celery and Redis. Celery is a task queue with a focus on real-time processing, which also supports task scheduling. Redis is a message broker. Keywords: Cryptocurrency, Portfolio, Cryptocurrency exchange platform, Celery, Redis, real-time processing, Task scheduling, Message broker. I.INTRODUCTION exchange. Centralized exchanges act as a third-party overseeing transactions to give customers For any crypto investor, it is important to be able to confidence that they are getting what they pay for. easily keep track of the performance of his assets There are thousands of different cryptocurrencies, and it is also important that the investor maintains a And, just like fiat currency, the value of each is portfolio that is consistently well-balanced and well- always changing. The difference between the stock diversified, which are two key practices for keeping market and crypto market is that cryptocurrency the investor’s wealth in good health. As the investor markets trade 24/7/365 adds assets to his portfolio, especially those of the fast-changing variety, the more time he needs to Fang et al[1] in their paper defines cryptocurrency spend time tracking all of them. This is where the trading and categorizes it into cryptocurrency application comes in handy for all the crypto markets and cryptocurrency trading models. They investors, the application helps the investor enabling have discussed the analysis of the research him to easily monitor the performance of the distribution, datasets, and trends that characterize cryptocurrencies and other assets, he has invested in, cryptocurrency trading. all in a single view. The most important thing that any investor need is to get notified about his The paper also provides a detailed description of the portfolio value at the right time, so he doesn’t lose Blockchain as the enabling technology, the money he has invested in when there is a price cryptocurrency markets, the advantages and drop. disadvantages of trading cryptocurrency, and the cryptocurrency trading software system. Figure. 1 Any investor can purchase cryptocurrency from shows the workflow of a single blockchain popular crypto exchanges. There are many ways to transaction which describes how a single transaction buy cryptocurrency safely, though the easiest request is made, validated, and then added to the method for beginners is likely to be a centralized existing blockchain. www.trendytechjournals.com 33 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ Figure 1. Workflow Of Blockchain Transaction The article ‘Why you should invest in blockchain?’ subjected to tables or items management. The [2]discusses the People’s perspectives on middleware is the next phase, which works as a investment in blockchain technology, various server and keeps user information in a database. If applications of blockchain, other ways to invest in there are any mistakes in the data, it tests the blockchain, and various industries where blockchain functionality and displays an error to the user. In this is implemented. The advantages and disadvantages Coingecko API is used for processing the data. of investing in cryptocurrencies are discussed by Jim Django and Redis are used to accomplish this. The Cunha and Colm Murphy [3] final step is to enter the information into the database. The information is stored in SQlite3. The application helps investors to set reminders HTML, SQlite3, Django, Redis, Coingecko, Twilio, where he gets a notification alert about their and Celery for state management are the portfolio based on the portfolio limit set by them. technologies utilized to build this project. The These notification alerts are sent to his email as well middle (application) tier is made up of Django and as to the user’s WhatsApp. Since the crypto market Coingecko. Django is a popular and capable python is volatile it is important for investors to place sell server platform, while Celery and Redis is a server- orders based on the market situation. side web framework. Celery is the best way to work with JavaScript and JSON from start to finish with II.SYSTEM ARCHITECTURE scheduled tasks, regardless of whatever form you choose. The design makes it simple to build a three- The first step is to create the front end. Following tier architecture (frontend, backend, and database) the creation of sections, each section will be using only JavaScript and JSON. Figure 2. System Architecture www.trendytechjournals.com 34 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ 1.Html CSS Bootstrap Front End database that's as simple to use as HTML, Coingecko, and Django. JSON documents written in HTML is a declarative Hypertext Markup Language your HTML end can be transmitted to the Express.js for documents designed to be displayed in a web server, where they can be processed and (if they're browser. HTML allows you to create complex valid) stored straight in SQLite for subsequent interfaces by connecting simple attributes to data on retrieval. your backend server and rendering them as HTML. HTML excels at handling stateful, data-driven 4.Special Tools interfaces with minimal code and suffering, and it comes with all the bells and whistles you'd expect The application uses Redis and Celery to Schedule from a modern web framework, including excellent the reminders and sends it to WhatsApp via twilio support for forms, error handling, events, and lists, sandbox[5,6]. The Redis and Celery can be among other features. rescheduled as per the user. 2.Coingecko and Django Server Tier III.METHODOLOGY The Coingecko API, which runs inside a Django server, is the next step down. Coingecko describes itself as a "quick, unopinionated, minimalist web Initially, the user has to log in if he is an existing API for Django" [4]. For URL routing (matching an user else the user needs to sign up. Then if the user incoming URL with a server function) and handling is new, he needs to add all the transactions which he HTTP requests and answers, Coingecko includes has made on different platforms to create his strong models. To access and change data in your portfolio and set reminders to get alerts of his total SQlite3 database, those functions leverage SQlite3 portfolio balance. If the user is an existing user, he ‘s Django drivers, either via callbacks or promises. can add the latest transactions that he has not added to the portfolio, or he can set new reminders. After 3.SQLite Database Tier creating a portfolio or editing the current portfolio user can view real-time statistics of his portfolio If your app saves any data (user profiles, content, which include real-time profit/loss in each coin and comments, uploads, events, and so on), you'll need a holdings of each coin Figure 3. Flow Chart for Creating Portfolio and Adding Reminders www.trendytechjournals.com 35 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ IV. RESULTS AND DISCUSSION The various steps involved in the process of developing this app are discussed and the outcomes are discussed below. Step-1: Login/Signup If the user is not an existing user, then he needs to sign up by filling in required details like username, E-mail, and password. . Figure 4. Sign up Page If the user is an existing user, then he needs to login with his username and password. Figure 5. Login Page www.trendytechjournals.com 36 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ Step-2: Adding Transactions Add all the transaction details of all your holdings on different platforms Figure 6. Add Transaction Form Step-3: Setting Reminders You can set a reminder by providing the details of at what price it should send a notification alert and should also mention above/below the mentioned price. Figure 7. Add Reminder Form The application shows rank, name, price, holdings, market cap, change in currency value over 1hour,24hours,7days, total portfolio balance, and profit/loss in real-time. www.trendytechjournals.com 37 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ Figure 8. Holdings Table and Statistics Also when the portfolio balance of the user hits the price limit mentioned, then the notification alert is sent to the user’s email and to his WhatsApp number. Figure 9. E-mail Notification Alert www.trendytechjournals.com 38 International Journal of Trendy Research in Engineering and Technology Volume 6 Issue 5 October 2022 ISSN NO 2582-0958 ____________________________________________________________________ REFERENCES [1] Fan Fang, Carmine Ventre, Michail Basios, Leslie Kanthan, David Martinez-Rego, Fan Wu, Lingbo Li, ‘Cryptocurrency trading :A com- prehensive survey’. Financial Innovation 8 (2022). 13(1-59) doi:10.1186/s40854-021-00321-6 [2] Why you should invest in blockchain? (2020, Mar 15). https://papersowl.com/examples/why-you- should-invest-in-blockchain [3] Jim Cunha and Colm Murphy,’Are Crypto-currencies a Good Investment?,’ The Journal of Investing Cryptocurrency Special Issue 2019, 28 (3) 45-56; DOI:10.3905/ joi.2019.28.3.045 [4] API-documentation, Figure 10. WhatsApp Reminder Notification https://www.coingecko.com /en/api/documentation V.CONCLUSION From the results, we conclude that the real-time [5] Twilio documentation- implementing- notification alert helps investors by taking decisions WhatsApp-Bot, https://www.twilio.com/docs/ immediately and placing sell orders so that they whatsapp don’t miss out on their profits or not have major losses. The statistics of each coin provided also [6] Celery documentation -https://docs. helps the investor better understand his portfolio. celeryq.dev/en/stable/ As of now, the application is only useful for cryptocurrency investors but in further enhancement, stocks can be included as well, where any type of trader can use this platform to analyze his portfolio. The platform then becomes helpful to not only crypto investors but to the ones who invest in stock as well as who invest in both stocks as well as crypto. ACKNOWLEDGMENT The authors would like to thank their guides Ms. D. Lakshmi Rohitha and Mrs. Soppari Kavitha for their continuous support and guidance. Without their guidance, the project would not have been completed successfully. The Authors are extremely grateful to Dr. M. V. VIJAYA SARADHI, Head of the Department of Computer Science and Engineering, Ace Engineering College for his valuable and constant support throughout the execution of this work. www.trendytechjournals.com 39

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.