GT-Net

Work in Progress

The implementation of GT-Net is not yet complete. This documentation describes the planned and partially implemented functionality.

GT-Net (Grafioschtrader Network) is a decentralized peer-to-peer system that enables multiple Grafioschtrader instances to exchange financial data. Each installation can simultaneously act as a data provider and data consumer in the network.

Concept and Functionality

GT-Net connects different Grafioschtrader instances with each other and enables the mutual exchange of price data. Each instance can decide for itself whether it provides data, receives data, or does both simultaneously. The exchange is automated via secure machine-to-machine communication (M2M).

Types of Data Exchange

GT-Net supports two types of price data for exchange:

  • Intraday Prices: Current day prices for securities and currency pairs with OHLCV data (Open, High, Low, Close, Volume).
  • Historical Prices: Daily closing prices for the past.

Connection Setup and Authentication

The connection between two GT-Net instances is established via a handshake procedure. During the first contact, authentication tokens are exchanged, which are used for further secure communication. Each instance can decide whether it automatically accepts unknown servers or only allows predefined servers.

Messages and Status Notifications

GT-Net uses a message-based communication protocol for various purposes:

  • Handshake Messages: For establishing and confirming connections between instances.
  • Status Messages: For communicating changes such as online/offline status, maintenance mode, or capacity utilization.
  • Data Requests: For requesting and approving the exchange of specific data types.

Request Limits and Load Management

To protect servers from overload, daily request limits can be defined. These apply both to incoming requests from other instances and to outgoing requests to other servers. Additionally, an instance can be marked as “busy”, whereby only status messages are communicated.

Prerequisites

To participate in GT-Net, your own Grafioschtrader server must be accessible from outside. The setup is done via the following subpages.