Currency exchange card

Exchange rates against a base currency, with the day's change. The host supplies the rates.

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

Previews

Currency exchange
Canvas
Currency exchange
Corner
Currency exchange
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.rates/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.
amountnumber1minimum: 0.01; maximum: 1000000How much of the base currency each rate converts.
codesarray[]maxItems: 12Currencies to show, in this order; empty shows the feed's order.
layoutstring"auto""auto", "grid", "list"
hour12booleanfalse
timeZonestring, nullnull
basestring"EUR"pattern: "^[A-Z]{3}$"Currency the rates are quoted against: EUR or an ECB reference currency. Selects the feed.

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": "currency",
  "primitive": "card",
  "card": "currency",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill"
}