Skip to content

brssaricicek/MMM-Binance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MMM-Binance

This is a module for the MagicMirror² smart mirror project.
This module displays cryptocurrency information from the Binance website. This module uses Websocket Market Streams. See more https://binance-docs.github.io/apidocs/spot/en/#websocket-market-streams

Installation

To install the module, use your terminal to:

  1. Navigate to your MagicMirror's modules folder. If you are using the default installation directory, use the command:
    cd ~/MagicMirror/modules
  2. Copy the module to your computer by executing the following command:
    git clone https://github.com/brssaricicek/MMM-Binance.git
  3. Enter the 'MMM-Binance' directory and Install the node modules:
    cd MMM-Binance && npm install

MagicMirror² Configuration

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
    modules: [
        ...
        {
            module: 'MMM-Binance',
            position: "top_rigt",
            header: "Binance Cryptocurrencies",
            config: {
                currencies: ['btcusdt','ethusdt'],
                decimalPlaces: 2,        
            }
        },
        ...
    ]
}

Configuration Options

Option
currencies Default: ['btcusdt', 'ethusdt']
Type: Array
decimalPlaces Optional - How many digits to display in the price after the decimal.
Default: 2
Type: Integer
fontSize Optional -Changes the font size.
Type: String
Property Values: xx-small, x-small, small, medium, large, x-large, xx-large,
smaller : Decreases the font-size by one relative unit.
larger: Increases the font-size by one relative unit.
length: Defines the font-size in length units.
% : Sets the font-size to a % of the parent element's font size

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published