From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1726004658; bh=KoO0LMja2qBywBnO39HuGjAa+1kdMISepwCrcu2GjvA=; h=From:To:Cc:Subject:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=CTxTIyqXE9YOvQVyFwGA4e+T/TkicQNK7hlYKYoM6JHfd7kQpQIL+3GNMsqD8op8f qiSImejm8N6AXqdgCfLqXAHThqoe1UbXhZBi6ut558Wg+VamC4vnB2GzrJH5h6mcZA VgT5jtLLAFKEe3GdJGtNmI/7NXWuO+NzcdBlHKwycBXDT3WKBdZOiiP7Tjf+duAUMk kaiGP9v9WAA+zjzLSfQhTlMp4DG9oLPEKYJ701LPdXJJMnzXyxM1xoUDiMd+nfG2WQ +KuAJuE6u5tq90FeCZOSl2h/ntNsRSfw+jHRrqIFmSsK2kldYaZWnbH0bPRVCkiWQY JyRDHEpIRmt9w== Received: from server-vie001.gnuweeb.org (unknown [192.168.57.1]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 4DF2231063F2; Tue, 10 Sep 2024 21:44:18 +0000 (UTC) From: Alviro Iskandar Setiawan To: Ammar Faizi , Michael William Jonathan Cc: Alviro Iskandar Setiawan , Ravel Kevin Ethan , GNU/Weeb Mailing List Subject: [RFC PATCH 0/9] Introducing GNU/Weeb Arbitrage Opportunity Notification Bot Date: Tue, 10 Sep 2024 23:44:05 +0200 Message-Id: <20240910214414.3401712-1-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Hi, Following the chief's approval of the concept to develop a bot for identifying arbitrage opportunities between two exchanges, I am excited to introduce the initial version of the GNU/Weeb Arbitrage Opportunity Notification Bot. This bot efficiently scans multiple exchanges for a given currency pair, detecting profitable arbitrage opportunities in real-time. Additionally, it can automatically send these alerts to a designated Telegram chat. Currently, the bot onlu supports Binance and OKX exchanges. However, it is designed to be easily extensible to support additional exchanges. I believe this tool would be a valuable addition to the GNU/Weeb group and would streamline the process of identifying arbitrage possibilities. Please consider integrating this bot (@FreezingNightBot) into the group for the benefit of our community. Thank you for your consideration! The following changes since commit acd5fc366c900e29d88ffac8ccac96dfe87df23d: Initial commit (2024-09-11 02:28:37 +0700) are available in the Git repository at: https://github.com/alviroiskandar/gwarnt.git master for you to fetch changes up to 315cd5c14d3fbc8a7cbf5b49038ed61674ed537e: gwarnt: Add Telegram bot usage to the README file (2024-09-11 04:07:44 +0700) Signed-off-by: Alviro Iskandar Setiawan ---------------------------------------------------------------- Alviro Iskandar Setiawan (9): gwarnt: Create initial P2P ad data structure gwarnt: p2p: Add P2P Binance gwarnt: p2p: Add P2P OKX gwarnt: Create function to find arbitrage opportunities gwarnt: p2p/binance: Fix invalid page gwarnt: Create the initial example gwarnt: Add README file gwarnt: Add Telegram bot gwarnt: Add Telegram bot usage to the README file Makefile | 7 +- README | 21 ++++ src/gwarnt/arbitrage.cpp | 27 ++++ src/gwarnt/arbitrage.hpp | 21 ++++ src/gwarnt/entry.cpp | 248 +++++++++++++++++++++++++++++++++++++ src/gwarnt/net.cpp | 2 + src/gwarnt/p2p/binance.cpp | 142 +++++++++++++++++++++ src/gwarnt/p2p/binance.hpp | 42 +++++++ src/gwarnt/p2p/okx.cpp | 101 +++++++++++++++ src/gwarnt/p2p/okx.hpp | 35 ++++++ src/gwarnt/p2p_ad.cpp | 31 +++++ src/gwarnt/p2p_ad.hpp | 31 +++++ src/gwarnt/tgbot.cpp | 75 +++++++++++ src/gwarnt/tgbot.hpp | 46 +++++++ 14 files changed, 828 insertions(+), 1 deletion(-) create mode 100644 README create mode 100644 src/gwarnt/arbitrage.cpp create mode 100644 src/gwarnt/arbitrage.hpp create mode 100644 src/gwarnt/p2p/binance.cpp create mode 100644 src/gwarnt/p2p/binance.hpp create mode 100644 src/gwarnt/p2p/okx.cpp create mode 100644 src/gwarnt/p2p/okx.hpp create mode 100644 src/gwarnt/p2p_ad.cpp create mode 100644 src/gwarnt/p2p_ad.hpp create mode 100644 src/gwarnt/tgbot.cpp create mode 100644 src/gwarnt/tgbot.hpp -- Alviro Iskandar Setiawan