Commit 04128b9
Add trading-positions@trading-journal desklet (#1770)
* Add Trading Positions desklet
Desktop widget for Crypto Trading Journal (github.com/Mouses007/Crypto-Trading-Journal).
Shows open Bitunix futures positions with real-time PnL from live Bitunix API.
Includes i18n support with German translation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* trading-positions@trading-journal: update to v1.2.0
Add running Pionex bots section, style settings (font sizes, background
opacity, min-width), toggles for mark/realized PnL, and Soup 3 support
for newer Cinnamon versions.
* trading-positions@trading-journal: English UI + translation support (v1.3.0)
Address review request: use English messages in all files and offer
translations.
- desklet.js: wrap all user-facing strings with _() and bind the
UUID text domain; all strings and code comments are now English
- settings-schema.json / metadata.json: English descriptions
- po/trading-positions@trading-journal.pot regenerated with
cinnamon-xlet-makepot from the actual sources
- po/de.po: German translation added
* trading-positions: use GLib.get_user_data_dir() for locale path
Address best-practices scanner: avoid hardcoding .local/share; use
GLib.get_user_data_dir() + "/locale" which respects XDG_DATA_HOME.
* trading-positions@trading-journal: v1.4.0 — key-based endpoint + neutral bots
- Fetch the public /api/esp32/display endpoint with X-ESP32-Key instead of
the session-gated broker routes → works with the journal's password gate.
- New 'ESP32 API key' setting.
- Neutral grid bots shown as NEUTRAL (grey) instead of long/short.
- po regenerated (new strings; removed 'Connecting to %s…'); de.po updated.
* trading-positions@trading-journal: v1.4.1 — group by exchange + unified LONG/SHORT side
- Group open positions by exchange (Bitunix/Bitget/Pionex) with a per-broker
section header + summed PnL.
- Show side uniformly as LONG/SHORT/NEUTRAL (not BUY/SELL).
- Neutral grid bots shown in grey.
* trading-positions@trading-journal: add README.md
---------
Co-authored-by: Mouses007 <Mouses007@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 52e8bc2 commit 04128b9
10 files changed
Lines changed: 1246 additions & 0 deletions
File tree
- trading-positions@trading-journal
- files/trading-positions@trading-journal
- po
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments