This system is designed to help you view price histories in the form of minute candlesticks. The project receives updates from a partner service, transforms these updates, and provides the aggregated data through an easy-to-use API endpoint.
Before you begin, make sure you have the following installed:
-
Build the Project
Next, build the project using Gradle:
./gradlew build
-
Run the Partner Service The project includes a partner service that provides the necessary data streams. Start this service by running:
java -jar partner-service-1.0.1-all.jar --port 8032
-
Run the Application Run the Application: With the partner service running, you can now start the main application:
./gradlew run
To make sure everything is working correctly, run the tests using:
./gradlew test
Once the application is running, you can retrieve candlestick data for any instrument by making a GET request to the following endpoint: http://localhost:9000/candlesticks?isin={ISIN}
origin/main