tossinvest-web
Local web dashboard for tossinvestsdk.
tossinvest-web runs on your computer and presents account holdings, local
strategy state, cycle progress, and trade history in one browser dashboard. It
does not upload credentials, tokens, strategy state, or trade history anywhere.
Screenshots
Portfolio
Strategy overview
The screenshots use intentionally redacted data. The dashboard renders your own account and local strategy data when it runs.
Install
pip install tossinvest-web
For local development from the source repository:
pip install -e .
pip install -e packages/tossinvest-web
Before you run it
Create a working directory for local data and place the Toss Invest SDK
credential file there. The SDK creates and refreshes token.json after the
first authenticated request.
my-tossinvest/
credentials
token.json # created locally; never commit this file
strategy_state/ # optional local strategy state
trade_history/ # optional local trade history
The default credentials format is:
client_id: your_client_id
client_secret: your_client_secret
account_number: your_account_number
Keep credentials, token.json, strategy_state/, and trade_history/ out
of public repositories and shared folders.
Run
Run the command from the local data directory:
tossinvest-web --host 127.0.0.1 --port 8000
Open http://127.0.0.1:8000 in a browser.
For development, reload the server when Python or static files change:
tossinvest-web --host 127.0.0.1 --port 8000 --reload
Access from another device on the same network
Bind the server to all local network interfaces:
tossinvest-web --host 0.0.0.0 --port 8000
Then open http://<your-computer-ip>:8000 from a device on the same Wi-Fi or
private network. Allow the port through the local firewall only for networks
you trust. Do not expose this server directly to the public internet.
Configure file locations
By default, the current working directory is the data directory. Use these environment variables when your SDK files live elsewhere:
TOSSINVEST_DATA_DIR=C:\\path\\to\\my-tossinvest
TOSSINVEST_CREDENTIAL_FILE=C:\\path\\to\\credentials
TOSSINVEST_TOKEN_FILE=C:\\path\\to\\token.json
TOSSINVEST_DATA_DIR is enough when all of credentials, token.json,
strategy_state/, and trade_history/ are stored together.
Dashboard behavior
- Portfolio loads holdings from the Toss Invest API. Exchange-rate conversion is off by default and can be enabled from the dashboard.
- Auto refresh controls periodic portfolio refreshes. The selected refresh interval and dashboard filters are remembered in the browser.
- Strategy Overview reads local strategy state files and groups execution items under their strategy type.
- Value Rebalancing supports local manual trade and capital-injection records for strategies operated through another broker.
- Trade Log reads local trade history and filters by date range.
The web package is a local dashboard. Account access still comes through the
installed tossinvestsdk package and your local Toss Open API credentials.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tossinvest_web-0.1.0.tar.gz.
File metadata
- Download URL: tossinvest_web-0.1.0.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2e83c6b8fcc449be4658c6a8f57b7672fbff863179ac67950ce6a056ba45cde
|
|
| MD5 |
bcbb89f4bf76ba2bf5117e49c98af59b
|
|
| BLAKE2b-256 |
d3af44dc7a47332516e2861b7b4f3eba974663fbfb30400f859d50a0375b4366
|
File details
Details for the file tossinvest_web-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tossinvest_web-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02b452cba8aee206758a0d863838c1a3a1c0ca6fa5d9e43efc7ff3d3f3011361
|
|
| MD5 |
350440e2810e8c5698d41a573eb1d916
|
|
| BLAKE2b-256 |
e49703cf69c588a5bba6f878fd7a3e43e853e29f2d2165e3523f839f177b3f53
|