0.147.0 • Published 17 days ago

tradex-chart v0.147.0

Weekly downloads
-
License
GNU GPL3
Repository
github
Last release
17 days ago

README

TradeX-chart is a highly customizable stock trade chart with one dependency written in plain JavaScript; use it with any framework or backend.

Version Size LICENSE GitHub NPM

npm.io

Table of Contents

Demo

Live Demo

Getting Started

Requirements

TradeX-chart targets browsers that support ECMAScript 2022.

Install

NPM

npm install tradex-chart

In Browser

<script src="tradex-chart.es.js"></script>

How to Use

Minimal working example:

<div id="myChartDiv"></div>

<script>

import {Chart, DOM} from 'tradex-chart'
import * as talib from "talib-web"

// minimal data state
let state = {
  "ohlcv": [
// [timestamp, open, high, low, close, volume]
    [1543579200000,4035.6,4072.78348726,3965,4055.6,2157.50135341],
    [1543582800000,4055.6,4100,4035,4059.1719252,1660.6115119],
    [1543586400000,4059.1,4076.6,4014.1,4060,1070.09946267],
    [1543590000000,4060.5,4060.5,3987.2,4049.2,1530.46774287],
    [1543593600000,4049.2,4092.7,4035,4089.6691106,922.84509291]
  ]
}

// minimal config
const config = {
  id: "TradeX_test",
  title: "BTC/USDT",
  width: 1000,
  height: 800,
  utils: {none: true},
  tools: {none: true},
  talib: talib,
  // see configuration.md#config regarding talib.wasm
  // `${window.location.origin}/talib.wasm`
  rangeLimit: 30,
}

const mount = document.getElementById('myChartDiv')
const chart = document.createElement("tradex-chart")

mount.appendChild(chart)
chart.start(config)

</script>

Documentation

Documentation can be found here: Documentation

or built and run locally from the repository by running:

git clone https://github.com/tradex-app/TradeX-chart
cd ./tradex-chart/src/docs
npm run build

Editable Live Sandbox Examples

Editable sandbox examples can found on CodeSandbox.io

Framework Integration Examples

Features

Support

For the latest news on TradeX-chart, feedback, feature requests, and community, join us over on Discord or GitHub.

Contributing

Testing, bug reports and feature requests welcome

If anybody you have any bugs/issues/feature requests, please, before making a submission, first:

To submit an issue:

  • Fork the chart repostitory
  • Create your Feature Branch git checkout -b feature/AmazingFeature
  • Commit your Changes git commit -m 'Add some AmazingFeature'
  • Push to the Branch git push origin feature/AmazingFeature
  • Open a Pull Request

You can help speed up development by contributing with crypto or PayPal.


if (youEnjoyed) {
    starThisRepository();
}
0.147.0

17 days ago

0.146.1

29 days ago

0.146.0

1 month ago

0.145.0

2 months ago

0.144.0

2 months ago

0.143.7

2 months ago

0.143.9

2 months ago

0.143.8

2 months ago

0.143.6

2 months ago

0.143.5

3 months ago

0.143.4

3 months ago

0.143.3

3 months ago

0.143.1

3 months ago

0.143.0

3 months ago

0.142.8

3 months ago

0.142.7

3 months ago

0.142.6

3 months ago

0.142.5

3 months ago

0.142.9

3 months ago

0.142.4

4 months ago

0.142.3

4 months ago

0.142.2

4 months ago

0.142.1

4 months ago

0.142.0

4 months ago

0.141.4

4 months ago

0.141.3

4 months ago

0.141.2

4 months ago

0.141.1

4 months ago

0.141.0

5 months ago

0.140.7

5 months ago

0.140.2

5 months ago

0.140.1

5 months ago

0.140.0

5 months ago

0.140.6

5 months ago

0.140.5

5 months ago

0.140.4

5 months ago

0.140.3

5 months ago

0.139.8

7 months ago

0.139.7

7 months ago

0.139.9

7 months ago

0.139.20

6 months ago

0.139.12

6 months ago

0.139.10

7 months ago

0.139.11

7 months ago

0.139.16

6 months ago

0.139.17

6 months ago

0.139.14

6 months ago

0.139.15

6 months ago

0.139.18

6 months ago

0.139.19

6 months ago

0.139.0

7 months ago

0.137.2

9 months ago

0.139.4

7 months ago

0.139.2

7 months ago

0.137.4

9 months ago

0.139.1

7 months ago

0.131.0

10 months ago

0.135.0

9 months ago

0.131.3

10 months ago

0.133.0

9 months ago

0.131.2

10 months ago

0.131.1

10 months ago

0.139.6

7 months ago

0.139.5

7 months ago

0.127.1

10 months ago

0.125.0

10 months ago

0.121.9

11 months ago

0.129.0

10 months ago

0.121.8

11 months ago

0.123.0

11 months ago

0.138.1

8 months ago

0.138.0

9 months ago

0.136.0

9 months ago

0.134.2

9 months ago

0.138.5

8 months ago

0.138.4

8 months ago

0.138.2

8 months ago

0.130.0

10 months ago

0.134.1

9 months ago

0.132.3

9 months ago

0.134.0

9 months ago

0.132.2

9 months ago

0.132.0

9 months ago

0.121.12

11 months ago

0.121.11

11 months ago

0.0.1

10 months ago

0.124.1

11 months ago

0.128.1

10 months ago

0.124.0

11 months ago

0.122.0

11 months ago

0.118.0

1 year ago

0.117.1

1 year ago

0.119.0

1 year ago

0.117.2

1 year ago

0.117.4

1 year ago

0.113.1

1 year ago

0.115.0

1 year ago

0.113.2

1 year ago

0.116.0

1 year ago

0.117.0

1 year ago

0.116.1

1 year ago

0.113.4

1 year ago

0.111.0

1 year ago

0.112.0

1 year ago

0.111.1

1 year ago

0.113.0

1 year ago

0.111.2

1 year ago

0.117.8

1 year ago

0.121.7

11 months ago

0.121.5

12 months ago

0.121.4

12 months ago

0.120.1

1 year ago

0.120.2

1 year ago

0.121.3

12 months ago

0.121.2

12 months ago

0.121.1

12 months ago

0.121.0

12 months ago

0.120.0

1 year ago

0.110.7

1 year ago

0.110.0

1 year ago

0.109.0

1 year ago

0.108.1

1 year ago

0.108.0

1 year ago

0.107.1

1 year ago

0.106.7

2 years ago

0.106.6

2 years ago

0.106.5

2 years ago

0.106.4

2 years ago

0.106.3

2 years ago

0.106.2

2 years ago