Preface¶
DeepSeek Harness (DSH) adopts a plugin-based architecture. In agent development or daily usage, if market data (such as exchange rates, indices, and cryptocurrency) needs to be embedded directly into the conversation flow, it typically requires navigating to external websites or writing additional scripts. dsh-fx-marquee is a DSH Web plugin that maintains a market ticker marquee above the input box. Clicking on a symbol allows you to view a trend chart, and it provides an exchange rate calculator and a settings page. This plugin is maintained by user 0rangeSoda1506 and is released under the MIT License.
Core Features¶
Marquee & Trend Charts¶
The marquee is located above the conversation input box and is not displayed by default when a new session has not started.
- Symbol Display: Supports a mixed arrangement of currency pairs, A-share indices, and cryptocurrencies. Each symbol displays its name, value, percentage change, and a mini trend chart. It centers statically when content fits, and scrolls when it doesn’t.
- Chart Details: Clicking a symbol pops up a floating layer supporting the following configurations:
- Time Unit: Auto, Hour, Day, Month.
- Data Groups: For Day/Month tiers, values must be multiples of 7 (e.g., 14/21/28…); for Hour tiers, values must be multiples of 12 with a maximum cap of 60 (e.g., 12/24/36…). If the original group count is invalid for the newly selected unit, it automatically converges to the default value.
- Trading Sessions: Displays the market clock (e.g., Asia/Beijing), market open status, and countdowns to open/close.
- Holiday Handling: Curves turn grey when the market is closed, and data cannot be retrieved.
- Data Degradation: The Hourly tier source for currency pairs is Yahoo Finance (lowest overseas latency). If Yahoo Finance is inaccessible in mainland China, it automatically degrades to ECB Daily data, and the panel labels the actual tier used. Hourly tier sources for indices and cryptocurrencies are Tencent m60 / Binance 1h.
Exchange Rate Calculator¶
Switch to the Tab page above the main content area to use the exchange rate calculator.
* Currency Pairs: Provides 24 currency pairs (including those in the marquee + built-in list), with grouping support.
* Rate Logic: Uses the snapshot rate at the time the calculator is opened. Values do not change automatically afterwards; click “Refresh Rate” to update.
* Precision & Swap: Results retain two decimal places, and support direction swapping via ⇅. Conversion is based on the “per 1 unit” rate; currencies quoted per 100 units (such as Japanese Yen / RMB) are converted correctly.
Settings Page¶
Find “FX Marquee” in the settings to configure:
* Toggle & List: One-click toggle for the marquee (turning it off stops background polling), checkboxes for 19 common currency pairs + 6 indices/crypto assets, and support for custom additions.
* Data Source Selection: Exchange rate sources can be set to Auto, Sina Finance, ECB, or ER-API.
* Refresh Interval: Supports Off / 5 sec / 10 sec / 20 sec / 30 sec / 1 min / 5 min.
* Charts & Colors: Trend chart toggle, up/down color scheme (Red Up/Green Down / Green Up/Red Down).
Installation and Activation¶
Install the plugin via the DSH command line:
dsh plugin --profile web add github:0rangeSoda1506/dsh-fx-marquee
After installation is complete, the dsh process must be restarted for the new plugin to take effect (recompose does not recalculate the boot manifest for started processes, and the UI will not appear).
Notes and Compatibility¶
- Unofficial Plugin: Not affiliated with DeepSeek. Data is for personal reference only and does not constitute investment advice.
- Data Source Limitations: All sources are key-free, but there are regional restrictions.
- Sina Forex: Requires a
Refererheader, which is handled by the host-side proxy. - Binance: Restricted in some regions. When restricted, the grid displays
—. Currently, there is no fallback source for indices and cryptocurrency. - Yahoo Finance: Inaccessible in mainland China; automatically degrades to ECB Daily.
- Sina Forex: Requires a
- Timezone Logic: Trading sessions are determined by the market’s local timezone (e.g., Asia/Beijing), regardless of your machine’s timezone.
- Compatible Versions: Compatible with dsh 0.1.5-rc.1 and 0.2.0-rc.2, supporting Windows/macOS/Linux.
- Data Latency: The client polls every 20 seconds by default, and the host side has an additional 25-second cache. In the worst case, the numbers on the screen may be approximately 45 seconds older than the upstream source.
Conclusion¶
dsh-fx-marquee integrates market monitoring and exchange rate calculation into the DSH Web interface, making it suitable for developers or users who need to view market data in real-time within the conversation flow. Before use, please check the accessibility of the data sources and the compatible plugin versions.