Skip to content

A stock tool that notifies users when certain triggers are reached for various stocks using the TornCity API

Notifications You must be signed in to change notification settings

ashwingur/TornCity-Stock-Tool

Repository files navigation

TornCity Stock Tool

An android app that you can use to monitor stocks and create triggers that notify you when stocks have reached certain prices. It makes periodic queries from the Torn City API to gather stock data.

Implementation Details

  • Created on Android Studio using Java
  • Using Retrofit2 to query the data and Gson to convert it into a Java Object
  • Using Room as an abstraction tool over an SQLite database to create a more robust system with less boiler plate code
  • Strictly following the MVVM architecture to maintain a separation of concerns between UI, business logic and databases
  • Using a Service to run queries and compare the retrieved data with existing triggers, which will work while the app itself is closed

Step 1

Go to the menu bar to set your API key

Setting Api Key

Step 2

After entering a valid API key, you can now view all the stocks and create triggers for them by tapping on the corresponding stock. You can also view existing triggers and edit or delete them if required.

Creating, editing and deleting triggers

What is Torn City?

Torn City is a massively multiplayer game with thousands of active players around the world. The aim of the game is to become the best. Earn the most money, own the biggest property, own the most successful company, drive the fastest car, lead the largest faction, have the most friends, complete the most missions, commit the most crime and be the strongest and hardest in Torn City.

About

A stock tool that notifies users when certain triggers are reached for various stocks using the TornCity API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages