@saeedghotb/hamnamad-user-efficiency
v1.1.0
Published
hamnamad module to plot user trading activity efficiency
Downloads
5
Readme
hamnamad-user-efficiency
hamnamad module to plot user trading activity efficiency
Install
npm install github:hamnamad/user-efficiency-chart
to install a specific version run
npm install github:hamnamad/user-efficiency-chart#v1.2
Usage
the most basic usage:
import React, { Component } from 'react'
import MyComponent, { DataType } from 'hamnamad-user-efficiency'
class Example extends Component {
render() {
const data: DataType = [
{
efficiency: -1.2,
risk: 0,
date: '14000329',
month: 3,
year: 1400
}
]
return <MyComponent data={data} />
}
}
data should be an array of DataType
. this type is matched to hamnamad backend data.
License
MIT © saeedghotb