feat: Binance Exchange Integration - Spot/Futures Trading & Market Data#599
Open
zp6 wants to merge 2 commits into
Open
feat: Binance Exchange Integration - Spot/Futures Trading & Market Data#599zp6 wants to merge 2 commits into
zp6 wants to merge 2 commits into
Conversation
…ance#86) - Add TradingView API client for chart data, indicators, and streaming - Add ChartData lens for OHLCV candlestick retrieval with multi-timeframe support - Add TechnicalIndicators lens for RSI, MACD, Bollinger Bands, etc. - Add MultiTimeframeAnalysis lens for cross-timeframe signal confluence - Add AlertManager prism for price/indicator alert CRUD operations - Add SignalGenerator prism for buy/sell/hold signal generation with confidence scores - Add StrategyBacktester prism for historical strategy simulation - Add RealTimeDataStream prism for live market data subscriptions - Add PineScriptExecutor prism for custom script execution - Add comprehensive unit tests for all components
Implements comprehensive Binance exchange integration with: - REST API client with HMAC-SHA256 authentication - Spot trading: create/cancel orders (LIMIT, MARKET, STOP_LOSS, etc.) - Futures trading: create orders with leverage control - Market data lenses: ticker price, order book depth - Account balance lens with authenticated endpoints - WebSocket stream manager for real-time data - Rate limiting and error handling - Futures API support with separate endpoints Closes Spectral-Finance#84
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Binance Exchange Integration (Closes #84)
Implements comprehensive Binance exchange integration with support for spot trading, futures trading, market data, and WebSocket streaming.
Changes
Integration Layer
Lux.Integrations.Binance- Core configuration, HMAC-SHA256 signing, rate limitingLux.Integrations.Binance.Client- HTTP client with authenticated/unsigned requestsLenses (Market Data)
TickerPriceLens- Fetch current prices for symbolsOrderBookLens- Order book depth with spread calculationBalanceLens- Authenticated account balance queriesPrisms (Trading Actions)
CreateOrderPrism(Spot) - Place LIMIT, MARKET, STOP_LOSS ordersCancelOrderPrism(Spot) - Cancel active ordersCreateFuturesOrderPrism- Futures orders with leverage controlStreamManagerPrism- WebSocket connection managementAcceptance Criteria