Skip to main content

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

Redacted portfolio dashboard

Strategy overview

Redacted 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

tossinvest_web-0.1.0.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tossinvest_web-0.1.0-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

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

Hashes for tossinvest_web-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a2e83c6b8fcc449be4658c6a8f57b7672fbff863179ac67950ce6a056ba45cde
MD5 bcbb89f4bf76ba2bf5117e49c98af59b
BLAKE2b-256 d3af44dc7a47332516e2861b7b4f3eba974663fbfb30400f859d50a0375b4366

See more details on using hashes here.

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

Hashes for tossinvest_web-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02b452cba8aee206758a0d863838c1a3a1c0ca6fa5d9e43efc7ff3d3f3011361
MD5 350440e2810e8c5698d41a573eb1d916
BLAKE2b-256 e49703cf69c588a5bba6f878fd7a3e43e853e29f2d2165e3523f839f177b3f53

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

1 file

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page