Skip to content

Older version of my arbitrage detector prior to the Spring Boot migration.

Notifications You must be signed in to change notification settings

crisflorentino/arbitrage-engine

Repository files navigation

🏀 Arbitrage Detector

Java Gradle Status

An older version of my arbitrage detector prior to a Spring Boot migration. If you want to find the newer and more up-to-date version, go here!

This version only searches for arbitrage opportunities from NBA games. As stated, if you want to use a more updated version that can aggregate data from a variety of leagues, go to my newer repo.

🛠 Tech Stack

  • Language: Java
  • Build Tool: Gradle
  • HTTP Client: OkHttp3
  • JSON Parsing: Gson
  • Data Source: SportsGameOdds API

🚀 Getting Started

Prerequisites

  • Java Development Kit (JDK): Version 8 or higher.
  • Gradle: Ensure Gradle is installed (or use the included Gradle wrapper if available).
  • API Key: You must have a valid API Key from the (SportsGameOdds)[https://sportsgameodds.com] service.

Installation

  1. Clone the repository

    git clone [https://github.com/crisflorentino/arbitrage-engine.git](https://github.com/crisflorentino/arbitrage-engine.git)
    cd arbitrage-engine
  2. Configure Environment Variables This application requires your API key to be set as an environment variable.

    • Mac/Linux:
      export API_KEY="your_actual_api_key_here"
    • Windows (Command Prompt):
      set API_KEY="your_actual_api_key_here"
    • IDE (IntelliJ/Eclipse): Go to your Run Configurations -> Environment Variables and add API_KEY.

Usage

Since this project is Gradle-based, you can run the application directly from the terminal:

# Linux/Mac
./gradlew run

# Windows
gradlew.bat run

About

Older version of my arbitrage detector prior to the Spring Boot migration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages