Socket
Socket
Sign inDemoInstall

altamoon-minicharts

Package Overview
Dependencies
185
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    altamoon-minicharts

An embeddable online tool that allows to track all the Binance futures markets on one page


Version published
Maintainers
2
Install size
51.7 MB
Created

Readme

Source

altamoon-minicharts

An embeddable online tool that allows to track all the Binance futures markets on one page

The online tool itself can be found at altamoon.github.io/altamoon-minicharts.

image

API

The simplest way is to embed it via global variable altamoonMinicharts.

<!DOCTYPE html>
<html>
<head>
    <!-- The tool originally uses a dark bootstrap theme, but you can replace it by the regulatstrap CSS -->
    <link rel="stylesheet" href="https://altamoon.github.io/altamoon-minicharts/bootstrap-bootswatch-darkly.min.css">
    <link rel="stylesheet" href="https://altamoon.github.io/altamoon-minicharts/style.css">
</head>
<body>
    <div id="root" class="m-4"></div>
    <script src="https://altamoon.github.io/altamoon-minicharts/altamoonMinicharts.js"></script>
    <script> altamoonMinicharts('#root'); </script> 
</body>
</html>

The function also accepts options as second argument. By the time being the only option is onSymbolSelect handler that is called when user clicks symbol name.

altamoonMinicharts('#root', {
    onSymbolSelect: (symbol) => console.log(symbol),
});

It can also be installed via NPM to be imported as a module.

npm i altamoon-minicharts

import altamoonMinicharts from 'altamoon-minicharts';

// ...

FAQs

Last updated on 07 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc