DMarlon Studio
All demos · Desktop
Python · tkinter

Stock investor (demo)

A stock market simulator with fictional companies and prices changing every second: buy, sell and watch your portfolio win or lose. Made-up data, no risk.

What it shows

  • Live data with a timer
  • Price chart
  • The portfolio saved between sessions
Stock investor (demo): Follow the market

How it works

  1. Step 1: Follow the market
    1

    Follow the market

    The table updates every second with each stock's price and change; pick one and the chart shows its latest prices.

  2. Step 2: Buy and build your portfolio
    2

    Buy and build your portfolio

    Choose the stock and quantity and press Buy (with its commission). At the top: cash, shares value, net worth and gain or loss.

  3. Step 3: Sell and review your orders
    3

    Sell and review your orders

    Each sale goes to the Orders tab with its result. The portfolio is saved on your computer and is still there next time.

This demo comes as an example in DMarlon Studio: open it in the Designer to see its design and code, change it and press Run.