@gvol/components
TypeScript icon, indicating that this package has built-in type declarations

0.2.12ย โ€ขย Publicย โ€ขย Published

genesis volatility ui components

Import pre-built Gvol charts in your UI ๐Ÿง™๐Ÿผ

getting started

The following chart components are available in v0.2.0:
<Skew />
<ConstantSkews1M />
<ConstantMaturityATM />
<GenericOrderbookTermStructure />
<CobIvDteATMIv />

Simply import the components you want into your project and you're ready to go! Example in React.js:

import { ConstantMaturityATM } from '@gvol/components'

function App() {
  return (
    <div>
      <ConstantMaturityATM
        symbol="BTC"
        />
    </div>
  );
}
Prop Type Default
*Symbol "BTC" or "ETH" *Required
Height Number 600
colors string[ ] GVOL Default Colors

If you'd like more information on the data for these charts, check out the Genesis Volatility documentation ๐Ÿš€

Package Sidebar

Install

npm i @gvol/components

Weekly Downloads

99

Version

0.2.12

License

MIT

Unpacked Size

553 MB

Total Files

56416

Last publish

Collaborators

  • sarahbenson
  • khur
  • rkrasiuk
  • doylecoin