CAP - Crypto API

Related tags

App cap-source
Overview

CAP - Crypto API

A PoC for an example financial data stream service. It's based on public cryptocurrency data.

cap-source

This project is the upstream part of the tick data stream.

Overview

  • Using Binance Public API (websocket) to listen to ticker stream of configurable symbols.
  • FeedSupplier stores the raw data into a RingBuffer (a naive implementation by utilizing a fixed size ArrayList)
  • Incoming data is consumed and encoded by FeedConsumers (only naive encoding, doesn't compress) and is redirected to Registry.
  • Registry makes a TCP fan-out to the connected TCP clients.
  • A unit test demonstrates also client connection can be found in RegistrySpec

How To Run

For possible configurations, application.yml

app:
  vertx:
    event-loop-pool-size: 8
  registry:
    host: localhost
    port: 7000
    tcp_server_thread_pool: 4

source:
  binance:
    buffer-size: 1024
    symbols: btcusdt,ethusdt

Via Gradle:

# profile local enables logging
./gradlew bootRun --args='--spring.profiles.active=local'

3rd Party Projects/Libraries

Many thanks to these awesome projects:

Otherwise, it wouldn't be possible to make this project, at least not in a couple of days :)

You might also like...
A simple material design app intro with cool animations and a fluent API.
A simple material design app intro with cool animations and a fluent API.

material-intro A simple material design app intro with cool animations and a fluent API. Very inspired by Google's app intros. Demo: A demo app is ava

Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information about Marvel's vast library of comics. :zap:
Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information about Marvel's vast library of comics. :zap:

Villains & Heroes Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information

TODO API Client Kata for Kotlin Developers. The main goal is to practice integration testing using MockWebServer
TODO API Client Kata for Kotlin Developers. The main goal is to practice integration testing using MockWebServer

KataTODOApiClient for Kotlin We are here to practice integration testsing using HTTP stubbing. We are going to use MockWebServer to simulate a HTTP se

Quick start with the Google Maps Android API

Please note: This repository is not currently maintained, and is kept for historical purpose only. You can find an up to date tutorial here: https://g

This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc...

Android L preview example Description This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shad

Retracer is a high performance, and near realtime REST API which used for Java/Android stack trace retracing by R8

Retracer is a high performance, and near realtime REST API which used for Java/Android stack trace retracing by R8 Getting Started docker

Implementation of the application using the latest Android Tech Stack and the GitHub REST API.
Implementation of the application using the latest Android Tech Stack and the GitHub REST API.

GitHub Viewer Implementation of the application using the latest Android Tech Stack and the GitHub REST API. !-- Github login. You can change the use

A Minecraft Kit API written in Kotlin

hglabor-kits Dependency The library is available on Maven Central, add the following dependencies: implementation("net.axay:hglabor-kits:$version") hg

⛈ Weather app with OpenWeatherMap API.
⛈ Weather app with OpenWeatherMap API.

⛈ Weather app with OpenWeatherMap API. Here i demonstrate the use of Modern Android development tools - (Kotlin, Architecture Components, MVVM, LiveData, Material Components)

Owner
Yavuz Tas
Senior Java Developer
Yavuz Tas
A small Crypto app with neat UI.

CryptoAppUI A small Crypto app with neat UI. Note: To login in or sign up just enter any dummy values. Perform crypto transaction though this app usin

Zain Khalid 3 Jul 17, 2022
Sample crypto wallet for Wallet Link SDK.

DemoWallet This repo is sample app for Wallet Link SDK. WalletLink is an open protocol that lets users connect their mobile wallets to your DApp. With

null 0 Dec 17, 2021
This is a Movie API app in which data is fetched online from the TMDB site using API authentication.

Movie-API This is a Movie API app in which data is fetched online from the TMDB site using API authentication. MVVM model is used for Database Managme

Atishay Jain 1 Dec 4, 2021
Gender Checker app built using Kotlin, MVVM, Genderize.io API. Take this as a reference for MVVM and Genderize.io API 🚀

Gender-Checker ?? Gender Checker app built using Kotlin, MVVM, Genderize.io API Enter a name and the app will guess the gender ?? ✨ Highligts: API : G

Jai Keerthick 0 Jan 5, 2022
New-SplashScreen-API - SplashScreen API Implementation Sample

SplashScreen API Implementation Sample Installation - Usage <style name="Theme.A

Arda Kazancı 0 Jan 3, 2022
Github-Api-Pagination-Example - Pagination 3 Example using Github Api

Github-Api-Pagination Pagination 3 Example using Github Api Tech Stack 100% Kotl

Anggoro Beno Lukito 2 Aug 22, 2022
OpenWeatherMap-API-Demo - Demo Android Application for OpenWeatherMap API

WeatherForecast Demo Android Application for OpenWeatherMap API Table of Content

Rashid Hussain 0 Jul 10, 2022
CoroutinesFlow and ViewModel Retrofit API - Practice with CoroutinesFlow, ViewModel and Retrofit API

Practice with Coroutines Flow, ViewModel and get data with Retrofit from two API

Komiljon Zokirov 3 Feb 6, 2022
Android App to test API requests against the GitHub API.

Reproducing an issue with GitHub's IP allowlist feature GitHub provides a feature for Enterprise orgs to define an IP allowlist. Requests to the GitHu

Tom Hombergs 2 Aug 7, 2022
An open resource for Douban API with NETEASY Music's UI.

扫码关注公众号有惊喜 (转载本站文章请注明作者和出处 方志朋的博客) 瓣呀,一个非官方的豆瓣app 首页分为三大模块,包括:电影、看书、音乐。而电影模块又包括最近热门电影、TOP250;看书模块包括综合、文学、流行、文化、生活五个部分;音乐模块包括流行、经典、韩系、欧美四个模块。 首页界面风格采用M

方志朋 928 Jan 3, 2023