back-testing-react 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,2 +1,66 @@
1
- # back-testing-react
2
- Parametric back testing web modules developed by NormanMax Insurance Solutions
1
+ back-testing-react
2
+ ==================
3
+ [![Type](https://img.shields.io/badge/type-GUI-yellow.svg)](https://npmjs.org/back-testing-react)
4
+ [![npm](https://img.shields.io/badge/npm-back--testing--react-CB3837.svg)](https://npmjs.org/back-testing-react)
5
+ [![version](https://img.shields.io/npm/v/back-testing-react?label=version)](https://badge.fury.io/js/%2Fback-testing-react)
6
+ [![npm downloads](https://img.shields.io/npm/dm/back-testing-react.svg)](https://npmjs.org/back-testing-react)
7
+
8
+ Parametric back testing web modules developed by [NormanMax Insurance Solutions](https://normanmaxinsurancesolutions.com/)
9
+
10
+ About
11
+ -----
12
+
13
+ This is a small React library for use in Node.js environments,
14
+ providing the ability to run BackTesting components and
15
+ applications.
16
+
17
+ NOTICE
18
+ ------
19
+
20
+ The NormanMax BackTesting requires an mapAccessToken and an apiAccessToken
21
+ for the components to be utilized.
22
+
23
+ Installation
24
+ ------------
25
+
26
+ ```shell
27
+ $ npm install back-testing-react
28
+ ```
29
+
30
+ Usage
31
+ -----
32
+
33
+ ```js
34
+ import { BackTestingWizard } from 'back-testing-react'
35
+
36
+ function App() {
37
+ return(
38
+ <div style={{height:'100vh',width:'100vw'}}>
39
+ <BackTestingWizard
40
+ mapAccessToken="..."
41
+ apiAccessToken="..."
42
+ env='uat'
43
+ selectedProxyPayoutOptionIndex={0}
44
+ proxyPayoutOptions={[
45
+ {key:'Sample Payouts List #1', value:[{category: 10, payout: 0.75},...]},
46
+ {key:'Sample Payouts List #2', value:[{category: 10, payout: 0.75},...]},
47
+ {key:'Sample Payouts List #3', value:[{category: 10, payout: 0.75},...]},
48
+ ]}
49
+ selectedAnemometerPayoutOptionIndex={0}
50
+ anemometerPayoutOptions={[
51
+ {key:'Sample Payouts List #1', value:[{category: 10, payout: 0.75},...]},
52
+ {key:'Sample Payouts List #2', value:[{category: 10, payout: 0.75},...]},
53
+ {key:'Sample Payouts List #3', value:[{category: 10, payout: 0.75},...]},
54
+ ]}
55
+ selectedCIACPayoutOptionIndex={0}
56
+ ciacPayoutOptions={[
57
+ {key:'Sample Payouts List #1', value:[{category: 10, payout: 0.75},...]},
58
+ {key:'Sample Payouts List #2', value:[{category: 10, payout: 0.75},...]},
59
+ ]}
60
+ />
61
+ </div>
62
+ );
63
+ }
64
+
65
+ export default App
66
+ ```