Stocks card

A market board: prices, daily change and a sparkline per symbol. The host supplies the quotes.

Category: Finance. Tags: Prices and rates, Charts and gauges, Lobbies and reception.

Previews

Stocks
Canvas
Stocks
Corner
Stocks
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

Feed: screenrig.quotes/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring""maxLength: 40Shown above the board; empty shows none.
layoutstring"auto""auto", "grid", "list", "ticker"auto: a grid when wide, a list when tall, a ticker in a strip.
showSparklinebooleantrue
decimalsinteger2minimum: 0; maximum: 4
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

This card has no dynamic properties.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "stocks",
  "primitive": "card",
  "card": "stocks",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill"
}