Tiqur/TradingviewPlus
Feature Request: Implement Binance and TopstepX Platform Adapters
開放
#138 建立於 2026年5月30日
enhancementhacktoberfest
倉庫指標
- 星標
- (4 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Goal
Now that the multi-platform adapter architecture has been introduced and Dhan support is fully functional, we should implement full integrations for Binance and TopstepX embedded charts.
Current Status
- Skeletons are already scaffolded inside
src/platforms/BinancePlatform.tsandsrc/platforms/TopstepXPlatform.tsas stubs. - They are currently disabled in
src/main.ts'sdetectPlatform()and matches are excluded from browser manifests to avoid injecting inactive content scripts.
Steps to Complete Integrations
- Selector Auditing: Inspect the DOM structure of TradingView charts embedded on Binance (
binance.com/en/trade/*) and TopstepX (topstepx.com) inside their respective iframe contexts. - Implement PlatformAdapter Methods:
getCurrentTimeframe()/getTimeframeContainer()getLineColorButton()/isColorMenuOpen()/getColorSwatches()isClickOnDrawingToolbar()/isFloatingToolbarNode()
- Activation:
- Uncomment detection rules inside
detectPlatform()insrc/main.ts. - Add target origin patterns to the
content_scripts.matchesarray in browser manifests (platform/*/manifest.json).
- Uncomment detection rules inside