TradingProject.ThirdParty.Client 1.0.5

dotnet add package TradingProject.ThirdParty.Client --version 1.0.5
                    
NuGet\Install-Package TradingProject.ThirdParty.Client -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TradingProject.ThirdParty.Client" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TradingProject.ThirdParty.Client" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="TradingProject.ThirdParty.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TradingProject.ThirdParty.Client --version 1.0.5
                    
#r "nuget: TradingProject.ThirdParty.Client, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TradingProject.ThirdParty.Client@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TradingProject.ThirdParty.Client&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=TradingProject.ThirdParty.Client&version=1.0.5
                    
Install as a Cake Tool

🌐 Third-Party Provider Gateway

.NET Redis Docker

The Third-Party Provider is a high-performance ASP.NET Core gateway designed to act as a unified bridge between your trading infrastructure and external market data providers. It simplifies integration by providing a consistent API while handling rate-limiting, caching, and resilience.


📖 Documentation

Document Description
🔄 Caching Caching architecture, providers, configuration, keys, and durations
📦 Client Library NuGet client SDK — typed services & DTOs for consuming the API (V1+)

✨ Key Features

  • Unified API: Access Binance, CoinGecko, and Sentiment data through a single, clean interface.
  • Smart Caching: Integrated caching with Redis (default) or in-memory support — see 🔄 Caching.
  • Resilient HTTP: Built with Polly resilience policies (Retry, Circuit Breaker) to handle transient network failures.
  • News Aggregator: Advanced RSS engine that fetches and filters news from CryptoPanic and major news outlets.
  • Strict Validation: Fail-fast configuration validation to ensure system integrity on startup.

🏗 Architecture

The service follows Clean Architecture principles with a MediatR-based CQRS pattern:

Api (Controllers)
  └── Application (CQRS — Queries & Commands)
        ├── Abstractions (Interfaces)
        └── Features/
              ├── Binance/     → Price, Klines, Ticker, Balances, Orders
              ├── MarketData/  → CoinGecko & Global Market Metrics
              ├── Sentiment/   → Fear & Greed Index
              └── News/        → Multi-source RSS Aggregation
Infrastructure (HTTP Clients, Resilience, Redis Cache)

🚀 Getting Started

1. Prerequisites

  • .NET 10 SDK
  • Redis Instance

2. Configuration

The service is configured via appsettings.json or Environment Variables.

Section Key Description
Binance ApiKey Your Binance API Key
Binance ApiSecret Your Binance API Secret
CoinGecko ApiKey (Optional) Demo API Key to increase limits
Redis Host Redis server hostname
RssNews FeedUrls List of RSS feeds to monitor

📡 API Reference

📊 Market Data (Binance)

Endpoint Description
GET /api/market-data/price/{symbol} Get the current ticker price.
GET /api/market-data/klines/{symbol} Fetch OHLCV candles (default 1h).
GET /api/market-data/ticker/{symbol} 24h price change statistics.

📈 Global Insights

Endpoint Source Cache
GET /api/market-data/global CoinGecko 5m
GET /api/market-data/sentiment/fear-and-greed AlternativeMe 1h
GET /api/news RSS Engine 15m

💰 Trading & Account

Endpoint Description
GET /api/account/balances Retrieve current wallet balances.
POST /api/trading/buy Execute a Market Buy order.
POST /api/trading/sell Execute a Market Sell order.

🤝 Contributing & Support

If this project helps you in your trading journey, feel free to contribute or give it a ⭐!

💎 Donations

Community support helps keep the development active and covers API subscription costs.

  • BTC: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
  • ETH (ERC20): 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
  • USDT (TRC20): TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

📄 License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 158 5/15/2026
1.0.4 138 5/14/2026
1.0.3 108 5/10/2026
1.0.2 99 5/10/2026
1.0.1 105 5/9/2026
1.0.0 95 5/9/2026