第 26 章

常見問題

忘記密碼了

登入畫面按「忘記密碼?」,輸入信箱,再貼上復原金鑰就能設定新密碼(有設定寄信服務的話會收到 30 分鐘有效的重設連結)。啟動檔版也可以在終端機執行 tools\app.bat reset-password 你的信箱(macOS、Linux 是 ./tools/app.sh)。

畫面說「資料庫已鎖定」

這台電腦沒有那個資料庫的金鑰(換了電腦或重灌)。把復原金鑰檔案選進去,或貼上裡面那一行就能解鎖。

換電腦

把 stock.db 帶到新電腦:裝好後在登入畫面用「已經有舊版的資料?搬過來」選它所在的資料夾,第一次打開用復原金鑰解鎖。或用雲端備份還原(第 21 章)。

股價顯示「—」

查不到報價:確認網路,按右上角的轉圈圖示;興櫃、未上市這類查不到的,到標的管理填參考價。

現金是負的

多半是只補登了交易、還沒記當初投入的本金。到現金流水帳用「存入」補記(第 9 章),不影響損益與報酬率。

改了資料,統計沒更新?

按右上角的轉圈圖示。統計都是即時從紀錄算出來的,只有股價會快取 15 分鐘。

想知道更多

每個欄位的完整說明在線上:https://github.com/YuHao-Yeh/STOCKings/wiki

Chapter 26

Frequently asked questions

I forgot my password

On the sign-in screen, click “Forgot your password?”, enter your email, then paste your recovery key to set a new password (if an email service is set up, you will get a reset link valid for 30 minutes instead). With the launcher edition, you can also run tools\app.bat reset-password your-email in a terminal (./tools/app.sh on macOS and Linux).

The screen says “Database locked”

This computer doesn't have the key for that database (you changed computers or reinstalled). Choose the recovery key file, or paste the line inside it, to unlock.

Moving to a new computer

Take stock.db to the new computer. After installing, use “Have data from an older STOCKings? Bring it over” on the sign-in screen to pick the folder it is in, and unlock it with the recovery key the first time you open it. Or restore from a cloud backup (chapter 21).

A price shows “—”

No quote could be found. Check your internet connection and click the circular arrow at the top right. For instruments that have no quotes, such as emerging-board or unlisted stocks, enter a reference price in Instruments.

My cash is negative

Usually you entered past trades but not the money you originally put in. Add it with a “Deposit” in the cash ledger (chapter 9). This doesn't affect your P&L or returns.

I changed my data but the statistics didn't update?

Click the circular arrow at the top right. All statistics are calculated live from your records; only share prices are cached, for 15 minutes.

Want to know more?

Every field is explained in full online: https://github.com/YuHao-Yeh/STOCKings/wiki