Introduction¶
DeepSeek Harness (DSH) extends its capabilities through plugins. dsh-trading212 is designed to integrate Trading 212 portfolio data into DSH workflows. It is maintained by Kevoyuan and provides a configure-once experience for viewing positions and returns in both conversations and dashboards, eliminating the need for manual cross-app checking.
Core Features¶
- API Configuration: Offers guided Demo or Live API setup with persistent credential storage.
- Dashboard: Provides a responsive desktop and mobile interface with views for overview, positions, history, settings, and help.
- Privacy Protection: Includes a “one-click privacy mask” (eye icon) that can hide all balances, position values, share counts, average entry prices, and returns.
- Chart Integration: Uses TradingView Lightweight Charts to display price history from 1 day to 5 years, including minute-level short intervals and actual Trading 212 buy/sell execution markers.
- Conversation Tools: Registers read-only
trading212_portfolioandtrading212_historytools that can be called directly in normal dsh conversations. - Multi-language Support: The UI supports English and Chinese, defaults to the dsh setting, and can be manually overridden on the settings page.
Installation and Enablement¶
This plugin is only supported for the Web Profile.
dsh plugin --profile web add --save-exact dsh-trading212@latest
After installation, fully quit and reopen dsh. A native T212 tab will appear in the session title bar. Click it to open the dashboard inside the chat panel.
Connecting to Trading 212¶
- Open the Trading 212 dashboard and choose the Demo or Live environment.
- Paste your API Key and API Secret, then select Test and save.
- Return to dsh or open the dashboard to start viewing your data.
Permission Requirements:
Grant read-only permissions for the following:
* Account data / account summary
* Portfolio / positions
* Orders / history
Do not grant permissions to place, modify, or cancel orders.
Usage Examples¶
In a dsh conversation, you can use prompts such as the following:
- “Summarize my three largest positions and concentration risk.”
- “Which positions are dragging down my unrealized return?”
- “What currency exposure do I have, and are any orders still pending?”
Notes¶
- Usage Restrictions: For personal research use only. It does not provide investment advice and cannot place, modify, or cancel orders.
- Data Latency: Historical market prices may be delayed, incomplete, or temporarily unavailable. Positions and execution history from Trading 212 remain available if Yahoo Finance fails.
- License: MIT License. Charts use TradingView Lightweight Charts (Apache-2.0).
Summary¶
This plugin standardizes Trading 212 portfolio data within the DSH ecosystem through persistent credentials and a visual dashboard. Developers can view details via the catalog or obtain the source code from GitHub.