forked from cerc-io/cosmos-explorer
feat: base tvjs kline
This commit is contained in:
parent
d94a933325
commit
86beaa6b37
@ -1,88 +0,0 @@
|
|||||||
<script>
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
// Adds all necessary stuff for you.
|
|
||||||
import { Overlay } from 'trading-vue-js'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'TestOverlay',
|
|
||||||
mixins: [Overlay],
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
COLORS:
|
|
||||||
[
|
|
||||||
'#5691ce', '#612ff9',
|
|
||||||
'#d50b90', '#ff2316',
|
|
||||||
],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// Define internal setting & constants here
|
|
||||||
computed: {
|
|
||||||
sett() {
|
|
||||||
return this.$props.settings
|
|
||||||
},
|
|
||||||
line_width() {
|
|
||||||
return this.sett.lineWidth || 3
|
|
||||||
},
|
|
||||||
color() {
|
|
||||||
const n = this.$props.num % 5
|
|
||||||
return this.sett.color || this.COLORS[n]
|
|
||||||
},
|
|
||||||
data_index() {
|
|
||||||
return this.sett.dataIndex || 1
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
meta_info() {
|
|
||||||
return { author: 'CyberFist', version: '1.0.0' }
|
|
||||||
},
|
|
||||||
// Here goes your code. You are provided with:
|
|
||||||
// { All stuff is reactive }
|
|
||||||
// $props.layout -> positions of all chart elements +
|
|
||||||
// some helper functions (see layout_fn.js)
|
|
||||||
// $props.interval -> candlestick time interval
|
|
||||||
// $props.sub -> current subset of candlestick data
|
|
||||||
// $props.data -> your indicator's data subset.
|
|
||||||
// Comes "as is", should have the following format:
|
|
||||||
// [[<timestamp>, ... ], ... ]
|
|
||||||
// $props.colors -> colors (see TradingVue.vue)
|
|
||||||
// $props.cursor -> current position of crosshair
|
|
||||||
// $props.settings -> indicator's custom settings
|
|
||||||
// E.g. colors, line thickness, etc. You define it.
|
|
||||||
// $props.num -> indicator's layer number (of All
|
|
||||||
// layers in the current grid)
|
|
||||||
// $props.id -> indicator's id (e.g. EMA_0)
|
|
||||||
// ~
|
|
||||||
// Finally, let's make the canvas dirty!
|
|
||||||
draw(ctx) {
|
|
||||||
ctx.lineWidth = this.line_width
|
|
||||||
ctx.strokeStyle = this.color
|
|
||||||
ctx.beginPath()
|
|
||||||
|
|
||||||
const { layout } = this.$props
|
|
||||||
const i = this.data_index
|
|
||||||
|
|
||||||
for (const p of this.$props.data) {
|
|
||||||
const x = layout.t2screen(p[0])
|
|
||||||
const y = layout.$2screen(p[i])
|
|
||||||
ctx.lineTo(x, y)
|
|
||||||
}
|
|
||||||
ctx.stroke()
|
|
||||||
},
|
|
||||||
|
|
||||||
// For all data with these types overlay will be
|
|
||||||
// added to the renderer list. And '$props.data'
|
|
||||||
// will have the corresponding values. If you want to
|
|
||||||
// redefine the default behviour for a prticular
|
|
||||||
// indicator (let's say EMA),
|
|
||||||
// just create a new overlay with the same type:
|
|
||||||
// e.g. use_for() { return ['EMA'] }.
|
|
||||||
use_for() { return ['TestOverlay'] },
|
|
||||||
|
|
||||||
// Colors for the legend, should have the
|
|
||||||
// same dimention as a data point (excl. timestamp)
|
|
||||||
data_colors() { return [this.color] },
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,860 +0,0 @@
|
|||||||
{
|
|
||||||
"chart": {
|
|
||||||
"data": [
|
|
||||||
[1587272400000, 7240.1, 7240.2, 7120, 7131, 709.93],
|
|
||||||
[1587276000000, 7130.96, 7174, 7120, 7169.1, 485.44],
|
|
||||||
[1587279600000, 7169.1, 7170, 7134.9, 7159.5, 174.1],
|
|
||||||
[1587283200000, 7159.1, 7169.5, 7136, 7162.06, 129.79],
|
|
||||||
[1587286800000, 7161.7, 7205, 7150, 7185.6, 118.13],
|
|
||||||
[1587290400000, 7185.77, 7195.1, 7166.7, 7175.01, 141.86],
|
|
||||||
[1587294000000, 7175.1, 7175.1, 7149.1, 7170.98, 119.36],
|
|
||||||
[1587297600000, 7171.2, 7179.89, 7159.8, 7168.7, 207.99],
|
|
||||||
[1587301200000, 7168.7, 7168.8, 7085, 7112.4, 448.23],
|
|
||||||
[1587304800000, 7112.03, 7123, 7056.9, 7115.5, 419.09],
|
|
||||||
[1587308400000, 7115.4, 7130.3, 7101.6, 7109, 148.53],
|
|
||||||
[1587312000000, 7107.3, 7141, 7103, 7132.9, 103.7],
|
|
||||||
[1587315600000, 7133, 7179.7, 7130, 7170, 207.86],
|
|
||||||
[1587319200000, 7170, 7170, 7150, 7158.6, 106.65],
|
|
||||||
[1587322800000, 7159.4, 7162.8, 7129.9, 7147.21, 46.22],
|
|
||||||
[1587326400000, 7147.21, 7162.5, 7130.2, 7156.15, 47.13],
|
|
||||||
[1587330000000, 7156.15, 7226, 7156.1, 7202.4, 398.2],
|
|
||||||
[1587333600000, 7202, 7205.2, 7164.8, 7184.1, 60.02],
|
|
||||||
[1587337200000, 7186, 7198.2, 7109, 7133.3, 177.14],
|
|
||||||
[1587340800000, 7133.3, 7186.49, 7100, 7179, 167.73],
|
|
||||||
[1587344400000, 7180, 7180.37, 7150.3, 7174.4, 53.27],
|
|
||||||
[1587348000000, 7173.4, 7210.2, 7162.89, 7191.84, 108.37],
|
|
||||||
[1587351600000, 7195.4, 7200, 7178.4, 7178.56, 24.6],
|
|
||||||
[1587355200000, 7178.6, 7236.3, 7178.6, 7191, 107.51],
|
|
||||||
[1587358800000, 7190.96, 7194.5, 7173, 7187.7, 25.56],
|
|
||||||
[1587362400000, 7190.9, 7194.5, 7169, 7183.3, 20.33],
|
|
||||||
[1587366000000, 7183.8, 7206.2, 7175.5, 7199, 88.22],
|
|
||||||
[1587369600000, 7199, 7204.6, 7147.9, 7161.4, 361.48],
|
|
||||||
[1587373200000, 7161.4, 7165, 7120.4, 7151, 757.53],
|
|
||||||
[1587376800000, 7151.4, 7151.5, 7011, 7081.2, 1096.6],
|
|
||||||
[1587380400000, 7081.2, 7088.2, 6950.1, 6967.3, 930.29],
|
|
||||||
[1587384000000, 6963.3, 7069.8, 6914.6, 7038.1, 836.51],
|
|
||||||
[1587387600000, 7038.1, 7058, 7021, 7036, 223.67],
|
|
||||||
[1587391200000, 7036, 7135.9, 7021, 7083.15, 832.23],
|
|
||||||
[1587394800000, 7083.2, 7114.4, 7071.7, 7083, 210.6],
|
|
||||||
[1587398400000, 7082.94, 7093.1, 7040.5, 7054.7, 81.06],
|
|
||||||
[1587402000000, 7055.6, 7055.6, 6850, 6882.2, 1095.99],
|
|
||||||
[1587405600000, 6882.2, 6997.8, 6838.9, 6870.2, 972.82],
|
|
||||||
[1587409200000, 6871.59, 6905.17, 6774.6, 6779.8, 745.59],
|
|
||||||
[1587412800000, 6779.1, 6876.98, 6766, 6870.1, 780.51],
|
|
||||||
[1587416400000, 6870, 6890, 6843.4, 6858.5, 176.79],
|
|
||||||
[1587420000000, 6858.1, 6900, 6852.7, 6890, 119.52],
|
|
||||||
[1587423600000, 6889.3, 6897.9, 6835, 6837.7, 161.91],
|
|
||||||
[1587427200000, 6837.1, 6923, 6825, 6893.1, 244.42],
|
|
||||||
[1587430800000, 6893.05, 6918.1, 6880, 6880, 60.93],
|
|
||||||
[1587434400000, 6880, 6893.9, 6839.83, 6852, 644.29],
|
|
||||||
[1587438000000, 6852, 6872.8, 6844.91, 6860.9, 127.4],
|
|
||||||
[1587441600000, 6860.9, 6867.4, 6832.3, 6850, 147.82],
|
|
||||||
[1587445200000, 6849.98, 6893.9, 6847.81, 6892.9, 210.53],
|
|
||||||
[1587448800000, 6893.6, 6906.5, 6880, 6887.8, 285.28],
|
|
||||||
[1587452400000, 6887.7, 6898.1, 6871.2, 6893.6, 200.66],
|
|
||||||
[1587456000000, 6893.6, 6914.21, 6861.8, 6870.5, 146.9],
|
|
||||||
[1587459600000, 6870.5, 6882.2, 6780.4, 6847.8, 758.88],
|
|
||||||
[1587463200000, 6847.7, 6861.8, 6813, 6817, 192.83],
|
|
||||||
[1587466800000, 6817.1, 6843, 6770.1, 6806.07, 342.03],
|
|
||||||
[1587470400000, 6806.1, 6851.9, 6795.7, 6820.3, 414.74],
|
|
||||||
[1587474000000, 6820.3, 6852, 6796.1, 6845.6, 439.38],
|
|
||||||
[1587477600000, 6845.65, 6898.1, 6824.5, 6826, 329.64],
|
|
||||||
[1587481200000, 6827.5, 6859.7, 6814.4, 6844.17, 255.96],
|
|
||||||
[1587484800000, 6844.17, 6872.4, 6826.4, 6857.2, 214.26],
|
|
||||||
[1587488400000, 6858.8, 6958.8, 6818, 6902.3, 594.36],
|
|
||||||
[1587492000000, 6902.94, 6914.2, 6875.3, 6881.8, 210.24],
|
|
||||||
[1587495600000, 6881.8, 6905, 6878.6, 6880.7, 87.27],
|
|
||||||
[1587499200000, 6880.6, 6898.2, 6870, 6894.8, 89.33],
|
|
||||||
[1587502800000, 6895, 6917, 6879, 6898.1, 49.42],
|
|
||||||
[1587506400000, 6898.4, 6906.5, 6867.1, 6899.9, 342.95],
|
|
||||||
[1587510000000, 6899.8, 6905, 6838.3, 6850, 73.26],
|
|
||||||
[1587513600000, 6849.94, 6870.1, 6826.18, 6842.5, 92.93],
|
|
||||||
[1587517200000, 6842.4, 6858, 6826.2, 6858, 48.22],
|
|
||||||
[1587520800000, 6859.01, 6892.4, 6853.4, 6878.6, 33.39],
|
|
||||||
[1587524400000, 6876.9, 6881.4, 6861, 6869.6, 38.24],
|
|
||||||
[1587528000000, 6869.5, 6880.9, 6856.86, 6862.31, 38.83],
|
|
||||||
[1587531600000, 6862.3, 6920.7, 6861.94, 6910.5, 54.4],
|
|
||||||
[1587535200000, 6912.1, 6941.7, 6892.3, 6941.69, 140.94],
|
|
||||||
[1587538800000, 6941.7, 6975, 6927.3, 6952.91, 316.57],
|
|
||||||
[1587542400000, 6953, 6960, 6934.3, 6956.9, 90.1],
|
|
||||||
[1587546000000, 6959.4, 6989.83, 6952.76, 6961.4, 177.12],
|
|
||||||
[1587549600000, 6963.2, 6964.2, 6939.91, 6945.2, 98.82],
|
|
||||||
[1587553200000, 6945.13, 6971, 6945.13, 6964, 44.29],
|
|
||||||
[1587556800000, 6963.91, 6978.3, 6939, 6965.6, 115.47],
|
|
||||||
[1587560400000, 6965, 7120.8, 6955.6, 7076.3, 1140.59],
|
|
||||||
[1587564000000, 7075.9, 7148, 7063.3, 7107.3, 648.62],
|
|
||||||
[1587567600000, 7107.3, 7125.3, 7094.2, 7125.1, 287],
|
|
||||||
[1587571200000, 7125.1, 7164, 7114.9, 7134.9, 481.41],
|
|
||||||
[1587574800000, 7134.9, 7137.8, 7090.4, 7095.44, 184.88],
|
|
||||||
[1587578400000, 7095.44, 7129, 7095, 7108.1, 111.75],
|
|
||||||
[1587582000000, 7107.5, 7130, 7098.6, 7100.3, 115.62],
|
|
||||||
[1587585600000, 7100.3, 7124.6, 7095, 7124.58, 33.09],
|
|
||||||
[1587589200000, 7124.6, 7140, 7101.4, 7101.6, 81.57],
|
|
||||||
[1587592800000, 7101.56, 7120.3, 7098.4, 7119.6, 407.41],
|
|
||||||
[1587596400000, 7119.6, 7133, 7111, 7133, 364.27],
|
|
||||||
[1587600000000, 7133, 7149.2, 7110.5, 7126.48, 240.81],
|
|
||||||
[1587603600000, 7126.48, 7187.7, 7125.2, 7185, 291.79],
|
|
||||||
[1587607200000, 7185, 7189, 7140.1, 7142.96, 135.33],
|
|
||||||
[1587610800000, 7142.96, 7167.51, 7126.1, 7127.3, 38.78],
|
|
||||||
[1587614400000, 7127.2, 7144.98, 7112, 7144, 51.77],
|
|
||||||
[1587618000000, 7142.9, 7149.4, 7108, 7113.3, 95.66],
|
|
||||||
[1587621600000, 7112.1, 7112.1, 7042, 7051.1, 352.39],
|
|
||||||
[1587625200000, 7051.8, 7081, 7047.4, 7065.1, 87.79],
|
|
||||||
[1587628800000, 7065.1, 7112.03, 7061.5, 7094.7, 105.62],
|
|
||||||
[1587632400000, 7095.3, 7105.9, 7068.1, 7105.9, 90.54],
|
|
||||||
[1587636000000, 7106, 7109.6, 7074.2, 7075, 443.31],
|
|
||||||
[1587639600000, 7075, 7149, 7075, 7138.7, 288.21],
|
|
||||||
[1587643200000, 7138.7, 7189.7, 7121.5, 7185, 786.74],
|
|
||||||
[1587646800000, 7185, 7270.1, 7169.1, 7260.1, 1967.03],
|
|
||||||
[1587650400000, 7259.9, 7773.9, 7259.9, 7555.4, 7012.4],
|
|
||||||
[1587654000000, 7555.4, 7571.9, 7480.3, 7545.2, 789.03],
|
|
||||||
[1587657600000, 7547.6, 7600.7, 7503.3, 7520.9, 643.95],
|
|
||||||
[1587661200000, 7520.9, 7567.6, 7520.9, 7566.6, 233.19],
|
|
||||||
[1587664800000, 7566.6, 7583.5, 7514, 7548.4, 503.5],
|
|
||||||
[1587668400000, 7548.31, 7557.9, 7515.2, 7534.5, 434.18],
|
|
||||||
[1587672000000, 7533.52, 7560, 7525.2, 7544.8, 574.06],
|
|
||||||
[1587675600000, 7544.8, 7613.6, 7544.72, 7601.1, 537.19],
|
|
||||||
[1587679200000, 7605.5, 7607.3, 7558, 7573.2, 231.85],
|
|
||||||
[1587682800000, 7573.2, 7573.3, 7457.5, 7498.9, 447.07],
|
|
||||||
[1587686400000, 7499, 7535, 7487.7, 7509.9, 185.22],
|
|
||||||
[1587690000000, 7508, 7535.6, 7487, 7500.6, 161.7],
|
|
||||||
[1587693600000, 7500.6, 7545.8, 7494.2, 7534.8, 140.74],
|
|
||||||
[1587697200000, 7534.77, 7556.8, 7523.6, 7536.69, 62.75],
|
|
||||||
[1587700800000, 7536.7, 7556.2, 7511.2, 7556.2, 73.69],
|
|
||||||
[1587704400000, 7556.2, 7556.3, 7509, 7509, 49.77],
|
|
||||||
[1587708000000, 7509.05, 7546, 7503.3, 7543.93, 137.9],
|
|
||||||
[1587711600000, 7543.93, 7594.3, 7542.8, 7586, 452.98],
|
|
||||||
[1587715200000, 7586, 7593.22, 7536.8, 7569.6, 112.31],
|
|
||||||
[1587718800000, 7569.5, 7614, 7560.3, 7590.3, 194.89],
|
|
||||||
[1587722400000, 7590.2, 7590.5, 7520, 7540.81, 166.55],
|
|
||||||
[1587726000000, 7540.9, 7613, 7499.3, 7499.62, 1070.85],
|
|
||||||
[1587729600000, 7499.6, 7550.8, 7462.07, 7518.8, 875.41],
|
|
||||||
[1587733200000, 7519.1, 7541.43, 7484.7, 7488, 1234.3],
|
|
||||||
[1587736800000, 7488, 7521.3, 7420.1, 7512.1, 1003.6],
|
|
||||||
[1587740400000, 7514.4, 7534.9, 7501, 7522.9, 125.07],
|
|
||||||
[1587744000000, 7522.9, 7532.6, 7501, 7529.1, 64.38],
|
|
||||||
[1587747600000, 7529.1, 7529.2, 7511.8, 7520.87, 30.33],
|
|
||||||
[1587751200000, 7520.76, 7556.9, 7520, 7525.7, 541.77],
|
|
||||||
[1587754800000, 7525.8, 7535.5, 7514.04, 7531.9, 77.3],
|
|
||||||
[1587758400000, 7531.7, 7550.6, 7531.7, 7538, 164.37],
|
|
||||||
[1587762000000, 7536.4, 7557, 7499, 7502.48, 1613.83],
|
|
||||||
[1587765600000, 7502.48, 7524.67, 7464.8, 7495, 234.51],
|
|
||||||
[1587769200000, 7492.84, 7514.7, 7492.52, 7508.3, 30.67],
|
|
||||||
[1587772800000, 7508.4, 7515, 7450, 7478, 180.3],
|
|
||||||
[1587776400000, 7477.17, 7501.9, 7458.9, 7489.3, 47.81],
|
|
||||||
[1587780000000, 7488.1, 7507.2, 7483.2, 7498.3, 140.53],
|
|
||||||
[1587783600000, 7496.3, 7527, 7494.9, 7526.5, 21.47],
|
|
||||||
[1587787200000, 7526.4, 7527, 7506, 7525.87, 22.96],
|
|
||||||
[1587790800000, 7525.5, 7561.6, 7525.12, 7561.6, 144.87],
|
|
||||||
[1587794400000, 7561.6, 7583.8, 7519, 7583.77, 569.89],
|
|
||||||
[1587798000000, 7583.5, 7586.5, 7550, 7560.4, 104.49],
|
|
||||||
[1587801600000, 7561, 7573.9, 7514.8, 7550, 112.19],
|
|
||||||
[1587805200000, 7550, 7559.2, 7535.6, 7558.2, 57.96],
|
|
||||||
[1587808800000, 7558.6, 7570.1, 7523, 7559.1, 725.68],
|
|
||||||
[1587812400000, 7561.5, 7592.7, 7512, 7537, 397.82],
|
|
||||||
[1587816000000, 7537, 7555.31, 7530, 7552.9, 28.55],
|
|
||||||
[1587819600000, 7552.82, 7592.8, 7552.82, 7592.8, 164.73],
|
|
||||||
[1587823200000, 7592.8, 7598.2, 7534.1, 7580.1, 222.2],
|
|
||||||
[1587826800000, 7581.8, 7700, 7499.3, 7526.4, 1441.25],
|
|
||||||
[1587830400000, 7532.2, 7565.2, 7472.2, 7552, 184.95],
|
|
||||||
[1587834000000, 7552, 7552.1, 7516, 7537, 126.22],
|
|
||||||
[1587837600000, 7537, 7544.49, 7520.25, 7534.53, 41.93],
|
|
||||||
[1587841200000, 7534.5, 7545.8, 7521, 7541.8, 46.01],
|
|
||||||
[1587844800000, 7542.1, 7559.75, 7542, 7548.7, 46.43],
|
|
||||||
[1587848400000, 7548.7, 7548.7, 7502.4, 7528.8, 136.07],
|
|
||||||
[1587852000000, 7528.2, 7550.89, 7520.5, 7528.04, 38.06],
|
|
||||||
[1587855600000, 7528.1, 7540, 7507.2, 7538.5, 170.16],
|
|
||||||
[1587859200000, 7538.6, 7561.1, 7522.3, 7561.1, 69.53],
|
|
||||||
[1587862800000, 7561.1, 7572.18, 7556.59, 7560.93, 43.11],
|
|
||||||
[1587866400000, 7559.5, 7578.6, 7550.53, 7565.91, 34.72],
|
|
||||||
[1587870000000, 7565.91, 7569.3, 7549.4, 7562.6, 72.94],
|
|
||||||
[1587873600000, 7562.6, 7562.6, 7538.6, 7549.4, 64.13],
|
|
||||||
[1587877200000, 7549.3, 7549.3, 7532.7, 7532.7, 41.59],
|
|
||||||
[1587880800000, 7532.69, 7549.8, 7532.58, 7548.7, 40.57],
|
|
||||||
[1587884400000, 7548.59, 7558.1, 7536.6, 7546.2, 26.29],
|
|
||||||
[1587888000000, 7545.6, 7553.5, 7529.7, 7546.7, 81.69],
|
|
||||||
[1587891600000, 7546.1, 7590, 7540, 7584.6, 372.79],
|
|
||||||
[1587895200000, 7584.5, 7669, 7575, 7648, 596.65],
|
|
||||||
[1587898800000, 7648, 7675.7, 7624.3, 7659, 634.93],
|
|
||||||
[1587902400000, 7659, 7665.7, 7627.7, 7650.09, 267.01],
|
|
||||||
[1587906000000, 7650.09, 7697.8, 7619.2, 7681.9, 462],
|
|
||||||
[1587909600000, 7681.9, 7693.1, 7630.1, 7643.82, 193.45],
|
|
||||||
[1587913200000, 7643.8, 7643.8, 7473.5, 7550, 958.57],
|
|
||||||
[1587916800000, 7550, 7585, 7533.34, 7570.1, 148.32],
|
|
||||||
[1587920400000, 7570.1, 7589.8, 7555.3, 7585.5, 241.65],
|
|
||||||
[1587924000000, 7585.6, 7630, 7568, 7621.6, 198.92],
|
|
||||||
[1587927600000, 7621.5, 7650, 7609.6, 7650, 58.32],
|
|
||||||
[1587931200000, 7649.9, 7651.3, 7631.09, 7641.6, 113.52],
|
|
||||||
[1587934800000, 7642.3, 7652.1, 7611, 7624.4, 93.95],
|
|
||||||
[1587938400000, 7627.5, 7637, 7578.7, 7613.9, 180.34],
|
|
||||||
[1587942000000, 7613.9, 7697.9, 7613.24, 7697.9, 326.54],
|
|
||||||
[1587945600000, 7697.9, 7756, 7697.9, 7737.3, 1569.97],
|
|
||||||
[1587949200000, 7736.75, 7771.5, 7632.6, 7691.5, 969.33],
|
|
||||||
[1587952800000, 7688.25, 7732, 7682.3, 7728.4, 155.39],
|
|
||||||
[1587956400000, 7728.4, 7749.4, 7715.8, 7731.28, 156.76],
|
|
||||||
[1587960000000, 7731.28, 7731.3, 7705, 7728.04, 59.78],
|
|
||||||
[1587963600000, 7728.04, 7745.7, 7690, 7699.9, 98.68],
|
|
||||||
[1587967200000, 7699.7, 7712, 7650, 7661.02, 166.48],
|
|
||||||
[1587970800000, 7661, 7695, 7640, 7694.9, 124.27],
|
|
||||||
[1587974400000, 7695, 7736.2, 7685.96, 7699.1, 213.25],
|
|
||||||
[1587978000000, 7699.9, 7720, 7674.9, 7698.7, 229.78],
|
|
||||||
[1587981600000, 7699, 7708, 7656.9, 7695.9, 187.19],
|
|
||||||
[1587985200000, 7695.2, 7718, 7690.4, 7714.2, 157.01],
|
|
||||||
[1587988800000, 7716.4, 7720, 7683.6, 7691.2, 122.78],
|
|
||||||
[1587992400000, 7691.3, 7701.6, 7613.4, 7687.9, 475.99],
|
|
||||||
[1587996000000, 7687.9, 7688.9, 7621.5, 7665.3, 434.59],
|
|
||||||
[1587999600000, 7665.4, 7688, 7655.2, 7672.3, 185.38],
|
|
||||||
[1588003200000, 7672.3, 7681.75, 7642.4, 7661.3, 325.98],
|
|
||||||
[1588006800000, 7661.5, 7667.7, 7641.8, 7658, 130.24],
|
|
||||||
[1588010400000, 7657.5, 7713.3, 7655.5, 7709.6, 159.26],
|
|
||||||
[1588014000000, 7709.6, 7730, 7694.2, 7702.3, 371.94],
|
|
||||||
[1588017600000, 7702.3, 7708.8, 7685.71, 7699.2, 53.46],
|
|
||||||
[1588021200000, 7699.3, 7765.7, 7699.2, 7734.9, 241.33],
|
|
||||||
[1588024800000, 7735, 7771.9, 7720.2, 7767.15, 152.03],
|
|
||||||
[1588028400000, 7768, 7777.7, 7749, 7777.6, 155.46],
|
|
||||||
[1588032000000, 7777.7, 7777.7, 7730.2, 7739, 132.37],
|
|
||||||
[1588035600000, 7739, 7739, 7679.7, 7691.81, 236.09],
|
|
||||||
[1588039200000, 7691.4, 7694.6, 7655.8, 7694.6, 411.26],
|
|
||||||
[1588042800000, 7694.53, 7696.7, 7681.8, 7694.4, 328.61],
|
|
||||||
[1588046400000, 7694.35, 7694.4, 7658.6, 7674.6, 426.35],
|
|
||||||
[1588050000000, 7674.6, 7693.2, 7664.1, 7693, 361.79],
|
|
||||||
[1588053600000, 7692.9, 7718.5, 7677, 7706.4, 255.38],
|
|
||||||
[1588057200000, 7706.2, 7706.2, 7688.37, 7699.8, 105.17],
|
|
||||||
[1588060800000, 7699.9, 7700.2, 7679.9, 7687.1, 81.37],
|
|
||||||
[1588064400000, 7687.1, 7736.6, 7686.89, 7735.6, 274.3],
|
|
||||||
[1588068000000, 7735.69, 7750, 7721, 7746.5, 130.01],
|
|
||||||
[1588071600000, 7746.6, 7749.8, 7733.3, 7735.24, 201.58],
|
|
||||||
[1588075200000, 7735.2, 7758.2, 7721.7, 7758.2, 236],
|
|
||||||
[1588078800000, 7757.5, 7759.9, 7723.3, 7724.3, 239.81],
|
|
||||||
[1588082400000, 7724.2, 7736.1, 7679, 7679, 884.11],
|
|
||||||
[1588086000000, 7679.5, 7722, 7667.8, 7715.6, 247.19],
|
|
||||||
[1588089600000, 7715.6, 7738.9, 7707, 7722.1, 152.22],
|
|
||||||
[1588093200000, 7722.1, 7739, 7711.5, 7724.3, 142.6],
|
|
||||||
[1588096800000, 7728.22, 7734.1, 7719.7, 7732.9, 135.84],
|
|
||||||
[1588100400000, 7732.9, 7735, 7703.1, 7710, 84.06],
|
|
||||||
[1588104000000, 7708.8, 7726.6, 7699.5, 7719.11, 191.89],
|
|
||||||
[1588107600000, 7719, 7721.94, 7704.1, 7721.9, 87.05],
|
|
||||||
[1588111200000, 7721.8, 7760.2, 7719, 7748.2, 163.16],
|
|
||||||
[1588114800000, 7748.2, 7762.9, 7743, 7750.7, 116.57],
|
|
||||||
[1588118400000, 7750.6, 7764.8, 7736.3, 7736.9, 130.15],
|
|
||||||
[1588122000000, 7736.8, 7763.3, 7736.3, 7763.01, 59.55],
|
|
||||||
[1588125600000, 7763.01, 7844, 7705.1, 7788.9, 1199.44],
|
|
||||||
[1588129200000, 7788.97, 7840.2, 7788.97, 7822.1, 321.11],
|
|
||||||
[1588132800000, 7824.9, 7854.9, 7810, 7846.7, 438.51],
|
|
||||||
[1588136400000, 7846.7, 7879.92, 7837.3, 7865.6, 475.01],
|
|
||||||
[1588140000000, 7866.5, 7949, 7850.4, 7946.2, 1117.52],
|
|
||||||
[1588143600000, 7946.3, 7964.6, 7914.03, 7934.9, 470.5],
|
|
||||||
[1588147200000, 7934.9, 7961.52, 7924.15, 7937.8, 267.32],
|
|
||||||
[1588150800000, 7937.9, 7980, 7930.2, 7973.3, 476.95],
|
|
||||||
[1588154400000, 7973.3, 8136.6, 7965, 8104.7, 2166.46],
|
|
||||||
[1588158000000, 8104.73, 8202.8, 8101, 8121.2, 1461.3],
|
|
||||||
[1588161600000, 8121.2, 8242.7, 8121.1, 8230, 1005.67],
|
|
||||||
[1588165200000, 8230, 8362, 8229.9, 8280, 3544.39],
|
|
||||||
[1588168800000, 8280, 8344.9, 8248.96, 8344.4, 654.23],
|
|
||||||
[1588172400000, 8344.2, 8365, 8282.5, 8353.51, 543.22],
|
|
||||||
[1588176000000, 8353.6, 8761.3, 8329.8, 8576.3, 6213.58],
|
|
||||||
[1588179600000, 8578.4, 8908, 8575.1, 8697.9, 4884.97],
|
|
||||||
[1588183200000, 8698, 8729, 8578.1, 8614.1, 1332.09],
|
|
||||||
[1588186800000, 8614.9, 8755, 8614.9, 8708.2, 617.5],
|
|
||||||
[1588190400000, 8708.7, 8912, 8689.3, 8911.5, 737.59],
|
|
||||||
[1588194000000, 8911.5, 8918, 8742.1, 8856.62, 1204.36],
|
|
||||||
[1588197600000, 8856.6, 8856.6, 8681.07, 8752.8, 604.98],
|
|
||||||
[1588201200000, 8752.8, 8788, 8701.1, 8778.7, 324.84],
|
|
||||||
[1588204800000, 8782.1, 8805, 8707, 8802.15, 929.47],
|
|
||||||
[1588208400000, 8802.2, 8860, 8788, 8841.5, 327.23],
|
|
||||||
[1588212000000, 8841.4, 8958, 8815.4, 8951.1, 629.67],
|
|
||||||
[1588215600000, 8951.2, 9269.2, 8855.3, 9269.2, 4418.55],
|
|
||||||
[1588219200000, 9269.1, 9269.1, 9030.2, 9141.6, 1366.6],
|
|
||||||
[1588222800000, 9141.1, 9376.9, 9141.1, 9360, 1706.26],
|
|
||||||
[1588226400000, 9360, 9441.91, 9258, 9300.7, 2329.53],
|
|
||||||
[1588230000000, 9301.4, 9316.9, 9020, 9167.2, 1950.7],
|
|
||||||
[1588233600000, 9166.9, 9209.9, 9088.4, 9114.5, 467.06],
|
|
||||||
[1588237200000, 9114.4, 9114.4, 8651.5, 8657.8, 3939.02],
|
|
||||||
[1588240800000, 8657.5, 8894.2, 8523.6, 8894.2, 1791.79],
|
|
||||||
[1588244400000, 8894.3, 8961.3, 8826.09, 8843.9, 733.76],
|
|
||||||
[1588248000000, 8839.8, 8913.9, 8700.9, 8763.4, 616.73],
|
|
||||||
[1588251600000, 8763.4, 8868.1, 8730.8, 8863.02, 1250.05],
|
|
||||||
[1588255200000, 8863.16, 8933.3, 8800, 8834.3, 1009.65],
|
|
||||||
[1588258800000, 8831.2, 8859.1, 8751, 8788.1, 390.53],
|
|
||||||
[1588262400000, 8787.8, 8796, 8622.3, 8690.4, 684.93],
|
|
||||||
[1588266000000, 8692.4, 8710.6, 8416, 8566.6, 1802.55],
|
|
||||||
[1588269600000, 8561.38, 8736, 8560.39, 8672.4, 719.38],
|
|
||||||
[1588273200000, 8672.85, 8857.1, 8667.3, 8840.97, 795.08],
|
|
||||||
[1588276800000, 8840.97, 8887.3, 8689.9, 8830.1, 532.35],
|
|
||||||
[1588280400000, 8824.95, 8852.7, 8741.5, 8759.5, 171.2],
|
|
||||||
[1588284000000, 8762.98, 8770, 8636, 8758.8, 369.38],
|
|
||||||
[1588287600000, 8758.86, 8774.4, 8597.2, 8631.82, 897.56],
|
|
||||||
[1588291200000, 8630.7, 8730, 8626.5, 8716.67, 279.83],
|
|
||||||
[1588294800000, 8716.67, 8760, 8667.59, 8668.6, 120.21],
|
|
||||||
[1588298400000, 8667.9, 8737, 8656.6, 8734, 83.69],
|
|
||||||
[1588302000000, 8733.9, 8742.3, 8665.8, 8676.15, 156.97],
|
|
||||||
[1588305600000, 8677.89, 8802.8, 8677.89, 8799.2, 189.32],
|
|
||||||
[1588309200000, 8798.9, 8839, 8763.5, 8812.9, 188.79],
|
|
||||||
[1588312800000, 8804.2, 8806.5, 8742.4, 8759.4, 163.58],
|
|
||||||
[1588316400000, 8759.38, 8782.72, 8708.5, 8771.2, 187.17],
|
|
||||||
[1588320000000, 8771.2, 8804.64, 8763.2, 8804.64, 116.46],
|
|
||||||
[1588323600000, 8804.64, 8868.5, 8786.2, 8860.02, 251.03],
|
|
||||||
[1588327200000, 8860, 8918.5, 8821.7, 8918.4, 396.63],
|
|
||||||
[1588330800000, 8918.7, 9070, 8895.3, 9009.7, 1517.79],
|
|
||||||
[1588334400000, 9010.5, 9035.6, 8830.7, 8885.47, 886.09],
|
|
||||||
[1588338000000, 8885.3, 8920.2, 8770.9, 8800.2, 557.12],
|
|
||||||
[1588341600000, 8800.18, 8843.6, 8719.1, 8840, 483.52],
|
|
||||||
[1588345200000, 8840, 8869, 8741.1, 8741.6, 357.95],
|
|
||||||
[1588348800000, 8741.55, 8770.6, 8675.1, 8748.5, 540.33],
|
|
||||||
[1588352400000, 8748.44, 8770.09, 8691, 8770.09, 146.86],
|
|
||||||
[1588356000000, 8770.09, 8791.8, 8724.7, 8743.7, 67.18],
|
|
||||||
[1588359600000, 8739.2, 8768.65, 8718.1, 8735.5, 138.14],
|
|
||||||
[1588363200000, 8735.49, 8750, 8681, 8735.2, 128.14],
|
|
||||||
[1588366800000, 8735.51, 8851, 8735.51, 8849, 404.39],
|
|
||||||
[1588370400000, 8848.94, 8862.3, 8806.8, 8841.12, 253.4],
|
|
||||||
[1588374000000, 8841.1, 8881.9, 8813, 8822.8, 303.7],
|
|
||||||
[1588377600000, 8823, 8844.6, 8764.5, 8840.02, 121.16],
|
|
||||||
[1588381200000, 8840, 8840, 8774.7, 8802.8, 114.1],
|
|
||||||
[1588384800000, 8802.8, 8835.4, 8756.2, 8816, 68.75],
|
|
||||||
[1588388400000, 8815.6, 8860, 8798.2, 8838.37, 68.69],
|
|
||||||
[1588392000000, 8840.4, 8853.8, 8800.1, 8819.6, 69.69],
|
|
||||||
[1588395600000, 8821.9, 8827, 8795, 8826.6, 61.94],
|
|
||||||
[1588399200000, 8824, 8848.4, 8822.2, 8826.96, 54.34],
|
|
||||||
[1588402800000, 8829.8, 8837.5, 8795.2, 8807.3, 159.88],
|
|
||||||
[1588406400000, 8805, 8820, 8776, 8785.8, 125.38],
|
|
||||||
[1588410000000, 8781.3, 8820.2, 8781.3, 8815.43, 76.17],
|
|
||||||
[1588413600000, 8815.5, 8861.5, 8815.5, 8837, 164.97],
|
|
||||||
[1588417200000, 8837, 8891.6, 8837, 8851.5, 456.35],
|
|
||||||
[1588420800000, 8851.6, 8938, 8850.5, 8867.6, 773.59],
|
|
||||||
[1588424400000, 8867.6, 8913.9, 8864.9, 8909.82, 140.1],
|
|
||||||
[1588428000000, 8909.8, 8955.1, 8894.2, 8923.4, 178.36],
|
|
||||||
[1588431600000, 8923.4, 8956, 8893, 8936, 393.52],
|
|
||||||
[1588435200000, 8936, 8999, 8919.2, 8978.7, 591.57],
|
|
||||||
[1588438800000, 8978.7, 9004.04, 8943.9, 8964.52, 340.07],
|
|
||||||
[1588442400000, 8965.09, 8965.09, 8821.4, 8864.65, 512.91],
|
|
||||||
[1588446000000, 8864.6, 8880.4, 8824.7, 8876.8, 73.48],
|
|
||||||
[1588449600000, 8877, 8927, 8862.7, 8927, 103.44],
|
|
||||||
[1588453200000, 8926.97, 8939.2, 8893.1, 8930, 109.22],
|
|
||||||
[1588456800000, 8929.94, 8944.4, 8900, 8939.1, 145.62],
|
|
||||||
[1588460400000, 8939, 8986.48, 8929.2, 8982.3, 193.91],
|
|
||||||
[1588464000000, 8982.4, 9162.36, 8944.6, 9135.57, 1513.86],
|
|
||||||
[1588467600000, 9137.9, 9198, 9070.7, 9124.07, 509.49],
|
|
||||||
[1588471200000, 9123.3, 9150, 9087.9, 9087.9, 97.42],
|
|
||||||
[1588474800000, 9087.92, 9171.2, 9087.9, 9150, 108.71],
|
|
||||||
[1588478400000, 9150, 9153.5, 9120.5, 9125.1, 180.14],
|
|
||||||
[1588482000000, 9125.14, 9137.3, 9100, 9106.6, 361.25],
|
|
||||||
[1588485600000, 9106.67, 9106.7, 8920, 9016.9, 859.04],
|
|
||||||
[1588489200000, 9016.9, 9042, 8989.5, 8998.9, 158.28],
|
|
||||||
[1588492800000, 8998.55, 9059, 8981.5, 9045, 129.15],
|
|
||||||
[1588496400000, 9045, 9126.3, 9039.6, 9105.49, 462.88],
|
|
||||||
[1588500000000, 9105.49, 9142.5, 9000.1, 9048, 374.44],
|
|
||||||
[1588503600000, 9048, 9100.66, 9028, 9048.7, 100.77],
|
|
||||||
[1588507200000, 9050.45, 9068.2, 8835.4, 8965.6, 980.72],
|
|
||||||
[1588510800000, 8965.5, 8965.5, 8836.7, 8928.2, 413.69],
|
|
||||||
[1588514400000, 8924.05, 8924.05, 8745.3, 8768.6, 795.13],
|
|
||||||
[1588518000000, 8768.6, 8847, 8738, 8814.5, 704.28],
|
|
||||||
[1588521600000, 8809.7, 8880.2, 8779.9, 8852.5, 245.37],
|
|
||||||
[1588525200000, 8852.5, 8884.7, 8785, 8823.2, 262.02],
|
|
||||||
[1588528800000, 8823.2, 8869.8, 8810.49, 8852.54, 112.71],
|
|
||||||
[1588532400000, 8852.5, 8905, 8851.1, 8871.43, 150.17],
|
|
||||||
[1588536000000, 8872, 8874.5, 8810.71, 8851.11, 368.31],
|
|
||||||
[1588539600000, 8851.2, 8915.4, 8813.3, 8857.4, 325.68],
|
|
||||||
[1588543200000, 8863.2, 8955.8, 8860.62, 8895.6, 243.29],
|
|
||||||
[1588546800000, 8897.7, 8912, 8867.2, 8899.8, 309.01],
|
|
||||||
[1588550400000, 8901.35, 8961.8, 8764.9, 8811, 903.4],
|
|
||||||
[1588554000000, 8811.8, 8839.5, 8631, 8693.91, 1177.09],
|
|
||||||
[1588557600000, 8691.6, 8793.6, 8682.08, 8746.91, 243.19],
|
|
||||||
[1588561200000, 8746.91, 8767.7, 8700.2, 8734.8, 112.37],
|
|
||||||
[1588564800000, 8734.79, 8736.5, 8632.4, 8687.1, 192.36],
|
|
||||||
[1588568400000, 8687.2, 8687.2, 8517, 8616.6, 937.29],
|
|
||||||
[1588572000000, 8616.6, 8650, 8594.15, 8630.57, 241.67],
|
|
||||||
[1588575600000, 8630.57, 8665, 8576.3, 8650.9, 153.88],
|
|
||||||
[1588579200000, 8650.9, 8704.4, 8649.1, 8677.6, 331.57],
|
|
||||||
[1588582800000, 8677.6, 8692.3, 8600.2, 8641.9, 298.41],
|
|
||||||
[1588586400000, 8641.9, 8668.4, 8606, 8630, 131.41],
|
|
||||||
[1588590000000, 8629.7, 8697.7, 8622.7, 8678.8, 115.9],
|
|
||||||
[1588593600000, 8678.8, 8748.9, 8649.6, 8705.9, 857.32],
|
|
||||||
[1588597200000, 8705.99, 8830.2, 8705.99, 8821.2, 597.03],
|
|
||||||
[1588600800000, 8821.2, 8845, 8775.8, 8787, 376.39],
|
|
||||||
[1588604400000, 8787, 8845, 8787, 8844.8, 180.09],
|
|
||||||
[1588608000000, 8844.73, 8890, 8800, 8827.6, 240.39],
|
|
||||||
[1588611600000, 8827.7, 8851, 8754.9, 8802.35, 200.83],
|
|
||||||
[1588615200000, 8802.3, 8877.1, 8801.4, 8846.5, 116.25],
|
|
||||||
[1588618800000, 8846.7, 8882.24, 8812.9, 8830.8, 159.63],
|
|
||||||
[1588622400000, 8830.8, 8933.5, 8829.93, 8915.98, 468.86],
|
|
||||||
[1588626000000, 8915.87, 8959, 8892.6, 8949.4, 266.07],
|
|
||||||
[1588629600000, 8949.2, 8959, 8862.8, 8874.9, 765.96],
|
|
||||||
[1588633200000, 8874, 8904.18, 8825.09, 8865.8, 252.95],
|
|
||||||
[1588636800000, 8867.5, 8918.8, 8850, 8889, 250.1],
|
|
||||||
[1588640400000, 8889, 8890, 8835.3, 8874, 360.41],
|
|
||||||
[1588644000000, 8874, 8874.1, 8825, 8850, 210.47],
|
|
||||||
[1588647600000, 8850, 8866.5, 8815.3, 8852.81, 373.32],
|
|
||||||
[1588651200000, 8852.81, 9085, 8852.8, 9055.04, 814.11],
|
|
||||||
[1588654800000, 9055.04, 9124.8, 8993.6, 9017.48, 1008.24],
|
|
||||||
[1588658400000, 9016.4, 9056.9, 8972.7, 9020, 251.82],
|
|
||||||
[1588662000000, 9020, 9064.8, 8998.6, 9017, 282.24],
|
|
||||||
[1588665600000, 9015, 9041.1, 8976.9, 9022.3, 564.95],
|
|
||||||
[1588669200000, 9022.32, 9064.3, 8993, 9005.1, 246.23],
|
|
||||||
[1588672800000, 9005.1, 9005.12, 8758.6, 8840.4, 1083.23],
|
|
||||||
[1588676400000, 8843, 8879, 8824.21, 8841.7, 115.31],
|
|
||||||
[1588680000000, 8841.8, 8883.7, 8809.1, 8871.7, 424.93],
|
|
||||||
[1588683600000, 8871.8, 8938.3, 8850.6, 8914.3, 211.11],
|
|
||||||
[1588687200000, 8915, 8920.6, 8820, 8879.12, 183.39],
|
|
||||||
[1588690800000, 8876.8, 8879.45, 8831.53, 8836.04, 119.26],
|
|
||||||
[1588694400000, 8836.04, 8881.5, 8820, 8868.7, 76.07],
|
|
||||||
[1588698000000, 8868.7, 8927.01, 8838.7, 8869, 140.83],
|
|
||||||
[1588701600000, 8868.7, 8900, 8850.9, 8892.45, 89.98],
|
|
||||||
[1588705200000, 8892.4, 8926.8, 8875.3, 8904.2, 177.13],
|
|
||||||
[1588708800000, 8904.2, 8952.6, 8899.9, 8939, 105.9],
|
|
||||||
[1588712400000, 8939.38, 8995, 8939.38, 8962.9, 198.11],
|
|
||||||
[1588716000000, 8966.49, 8980.2, 8898.3, 8960, 197.44],
|
|
||||||
[1588719600000, 8960, 9038.2, 8941.9, 9020.1, 231.87],
|
|
||||||
[1588723200000, 9020.1, 9036, 8913.57, 8945.12, 224.87],
|
|
||||||
[1588726800000, 8944.77, 8990, 8936.5, 8980.61, 75],
|
|
||||||
[1588730400000, 8980.74, 8980.78, 8941.3, 8969.1, 56.37],
|
|
||||||
[1588734000000, 8969, 9082.7, 8961.69, 8977.38, 306.42],
|
|
||||||
[1588737600000, 8977.38, 9047.4, 8970, 9001.6, 89.98],
|
|
||||||
[1588741200000, 9001, 9037.1, 8977.7, 9008.7, 106.69],
|
|
||||||
[1588744800000, 9008.8, 9039, 9000.7, 9021.02, 91.15],
|
|
||||||
[1588748400000, 9022.4, 9039, 8997.2, 9022.73, 105.57],
|
|
||||||
[1588752000000, 9022.78, 9106.9, 9001.6, 9040.16, 457.22],
|
|
||||||
[1588755600000, 9040.8, 9094, 9036.1, 9089.71, 135.48],
|
|
||||||
[1588759200000, 9089.8, 9294, 9068, 9238, 1523.25],
|
|
||||||
[1588762800000, 9237.7, 9345.6, 9205.8, 9322.9, 809.15],
|
|
||||||
[1588766400000, 9323, 9387, 9223, 9232.86, 1018.51],
|
|
||||||
[1588770000000, 9234, 9271.8, 9135, 9237.2, 562.04],
|
|
||||||
[1588773600000, 9237.2, 9258, 9201.6, 9236.8, 136.21],
|
|
||||||
[1588777200000, 9236.1, 9299.5, 9235.9, 9287.9, 180.81],
|
|
||||||
[1588780800000, 9285.3, 9319.7, 9262.1, 9308.1, 76.46]
|
|
||||||
],
|
|
||||||
"settings": {},
|
|
||||||
"grid": {}
|
|
||||||
},
|
|
||||||
"onchart": [{
|
|
||||||
"name": "ATOM / OSMO",
|
|
||||||
"type": "TestOverlay",
|
|
||||||
"data": [
|
|
||||||
[1587272400000, 7131],
|
|
||||||
[1587276000000, 7132.49],
|
|
||||||
[1587279600000, 7133.55],
|
|
||||||
[1587283200000, 7134.67],
|
|
||||||
[1587286800000, 7136.67],
|
|
||||||
[1587290400000, 7138.17],
|
|
||||||
[1587294000000, 7139.46],
|
|
||||||
[1587297600000, 7140.6],
|
|
||||||
[1587301200000, 7139.5],
|
|
||||||
[1587304800000, 7138.56],
|
|
||||||
[1587308400000, 7137.4],
|
|
||||||
[1587312000000, 7137.22],
|
|
||||||
[1587315600000, 7138.51],
|
|
||||||
[1587319200000, 7139.3],
|
|
||||||
[1587322800000, 7139.61],
|
|
||||||
[1587326400000, 7140.25],
|
|
||||||
[1587330000000, 7142.69],
|
|
||||||
[1587333600000, 7144.32],
|
|
||||||
[1587337200000, 7143.88],
|
|
||||||
[1587340800000, 7145.26],
|
|
||||||
[1587344400000, 7146.4],
|
|
||||||
[1587348000000, 7148.19],
|
|
||||||
[1587351600000, 7149.38],
|
|
||||||
[1587355200000, 7151.01],
|
|
||||||
[1587358800000, 7152.45],
|
|
||||||
[1587362400000, 7153.66],
|
|
||||||
[1587366000000, 7155.44],
|
|
||||||
[1587369600000, 7155.67],
|
|
||||||
[1587373200000, 7155.49],
|
|
||||||
[1587376800000, 7152.57],
|
|
||||||
[1587380400000, 7145.31],
|
|
||||||
[1587384000000, 7141.1],
|
|
||||||
[1587387600000, 7136.98],
|
|
||||||
[1587391200000, 7134.87],
|
|
||||||
[1587394800000, 7132.84],
|
|
||||||
[1587398400000, 7129.77],
|
|
||||||
[1587402000000, 7120.06],
|
|
||||||
[1587405600000, 7110.26],
|
|
||||||
[1587409200000, 7097.31],
|
|
||||||
[1587412800000, 7088.4],
|
|
||||||
[1587416400000, 7079.38],
|
|
||||||
[1587420000000, 7071.95],
|
|
||||||
[1587423600000, 7062.77],
|
|
||||||
[1587427200000, 7056.11],
|
|
||||||
[1587430800000, 7049.21],
|
|
||||||
[1587434400000, 7041.47],
|
|
||||||
[1587438000000, 7034.39],
|
|
||||||
[1587441600000, 7027.16],
|
|
||||||
[1587445200000, 7021.9],
|
|
||||||
[1587448800000, 7016.64],
|
|
||||||
[1587452400000, 7011.81],
|
|
||||||
[1587456000000, 7006.27],
|
|
||||||
[1587459600000, 7000.06],
|
|
||||||
[1587463200000, 6992.88],
|
|
||||||
[1587466800000, 6985.55],
|
|
||||||
[1587470400000, 6979.07],
|
|
||||||
[1587474000000, 6973.84],
|
|
||||||
[1587477600000, 6968.04],
|
|
||||||
[1587481200000, 6963.18],
|
|
||||||
[1587484800000, 6959.03],
|
|
||||||
[1587488400000, 6956.8],
|
|
||||||
[1587492000000, 6953.86],
|
|
||||||
[1587495600000, 6950.99],
|
|
||||||
[1587499200000, 6948.79],
|
|
||||||
[1587502800000, 6946.8],
|
|
||||||
[1587506400000, 6944.96],
|
|
||||||
[1587510000000, 6941.24],
|
|
||||||
[1587513600000, 6937.36],
|
|
||||||
[1587517200000, 6934.25],
|
|
||||||
[1587520800000, 6932.07],
|
|
||||||
[1587524400000, 6929.62],
|
|
||||||
[1587528000000, 6926.98],
|
|
||||||
[1587531600000, 6926.33],
|
|
||||||
[1587535200000, 6926.94],
|
|
||||||
[1587538800000, 6927.95],
|
|
||||||
[1587542400000, 6929.09],
|
|
||||||
[1587546000000, 6930.36],
|
|
||||||
[1587549600000, 6930.94],
|
|
||||||
[1587553200000, 6932.24],
|
|
||||||
[1587556800000, 6933.54],
|
|
||||||
[1587560400000, 6939.14],
|
|
||||||
[1587564000000, 6945.74],
|
|
||||||
[1587567600000, 6952.77],
|
|
||||||
[1587571200000, 6959.91],
|
|
||||||
[1587574800000, 6965.23],
|
|
||||||
[1587578400000, 6970.83],
|
|
||||||
[1587582000000, 6975.91],
|
|
||||||
[1587585600000, 6981.74],
|
|
||||||
[1587589200000, 6986.44],
|
|
||||||
[1587592800000, 6991.66],
|
|
||||||
[1587596400000, 6997.2],
|
|
||||||
[1587600000000, 7002.27],
|
|
||||||
[1587603600000, 7009.44],
|
|
||||||
[1587607200000, 7014.67],
|
|
||||||
[1587610800000, 7019.09],
|
|
||||||
[1587614400000, 7023.99],
|
|
||||||
[1587618000000, 7027.49],
|
|
||||||
[1587621600000, 7028.42],
|
|
||||||
[1587625200000, 7029.86],
|
|
||||||
[1587628800000, 7032.4],
|
|
||||||
[1587632400000, 7035.28],
|
|
||||||
[1587636000000, 7036.84],
|
|
||||||
[1587639600000, 7040.83],
|
|
||||||
[1587643200000, 7046.49],
|
|
||||||
[1587646800000, 7054.86],
|
|
||||||
[1587650400000, 7074.49],
|
|
||||||
[1587654000000, 7092.95],
|
|
||||||
[1587657600000, 7109.73],
|
|
||||||
[1587661200000, 7127.65],
|
|
||||||
[1587664800000, 7144.15],
|
|
||||||
[1587668400000, 7159.46],
|
|
||||||
[1587672000000, 7174.57],
|
|
||||||
[1587675600000, 7191.3],
|
|
||||||
[1587679200000, 7206.27],
|
|
||||||
[1587682800000, 7217.75],
|
|
||||||
[1587686400000, 7229.21],
|
|
||||||
[1587690000000, 7239.85],
|
|
||||||
[1587693600000, 7251.42],
|
|
||||||
[1587697200000, 7262.6],
|
|
||||||
[1587700800000, 7274.12],
|
|
||||||
[1587704400000, 7283.33],
|
|
||||||
[1587708000000, 7293.55],
|
|
||||||
[1587711600000, 7305.02],
|
|
||||||
[1587715200000, 7315.39],
|
|
||||||
[1587718800000, 7326.17],
|
|
||||||
[1587722400000, 7334.59],
|
|
||||||
[1587726000000, 7341.06],
|
|
||||||
[1587729600000, 7348.03],
|
|
||||||
[1587733200000, 7353.52],
|
|
||||||
[1587736800000, 7359.74],
|
|
||||||
[1587740400000, 7366.14],
|
|
||||||
[1587744000000, 7372.53],
|
|
||||||
[1587747600000, 7378.35],
|
|
||||||
[1587751200000, 7384.12],
|
|
||||||
[1587754800000, 7389.92],
|
|
||||||
[1587758400000, 7395.73],
|
|
||||||
[1587762000000, 7399.91],
|
|
||||||
[1587765600000, 7403.64],
|
|
||||||
[1587769200000, 7407.75],
|
|
||||||
[1587772800000, 7410.5],
|
|
||||||
[1587776400000, 7413.59],
|
|
||||||
[1587780000000, 7416.91],
|
|
||||||
[1587783600000, 7421.21],
|
|
||||||
[1587787200000, 7425.31],
|
|
||||||
[1587790800000, 7430.66],
|
|
||||||
[1587794400000, 7436.66],
|
|
||||||
[1587798000000, 7441.52],
|
|
||||||
[1587801600000, 7445.77],
|
|
||||||
[1587805200000, 7450.18],
|
|
||||||
[1587808800000, 7454.45],
|
|
||||||
[1587812400000, 7457.69],
|
|
||||||
[1587816000000, 7461.42],
|
|
||||||
[1587819600000, 7466.57],
|
|
||||||
[1587823200000, 7471.03],
|
|
||||||
[1587826800000, 7473.2],
|
|
||||||
[1587830400000, 7476.29],
|
|
||||||
[1587834000000, 7478.67],
|
|
||||||
[1587837600000, 7480.86],
|
|
||||||
[1587841200000, 7483.25],
|
|
||||||
[1587844800000, 7485.82],
|
|
||||||
[1587848400000, 7487.5],
|
|
||||||
[1587852000000, 7489.09],
|
|
||||||
[1587855600000, 7491.03],
|
|
||||||
[1587859200000, 7493.78],
|
|
||||||
[1587862800000, 7496.41],
|
|
||||||
[1587866400000, 7499.14],
|
|
||||||
[1587870000000, 7501.62],
|
|
||||||
[1587873600000, 7503.5],
|
|
||||||
[1587877200000, 7504.64],
|
|
||||||
[1587880800000, 7506.37],
|
|
||||||
[1587884400000, 7507.93],
|
|
||||||
[1587888000000, 7509.45],
|
|
||||||
[1587891600000, 7512.4],
|
|
||||||
[1587895200000, 7517.72],
|
|
||||||
[1587898800000, 7523.26],
|
|
||||||
[1587902400000, 7528.23],
|
|
||||||
[1587906000000, 7534.26],
|
|
||||||
[1587909600000, 7538.55],
|
|
||||||
[1587913200000, 7539],
|
|
||||||
[1587916800000, 7540.22],
|
|
||||||
[1587920400000, 7542],
|
|
||||||
[1587924000000, 7545.12],
|
|
||||||
[1587927600000, 7549.23],
|
|
||||||
[1587931200000, 7552.86],
|
|
||||||
[1587934800000, 7555.66],
|
|
||||||
[1587938400000, 7557.94],
|
|
||||||
[1587942000000, 7563.43],
|
|
||||||
[1587945600000, 7570.25],
|
|
||||||
[1587949200000, 7575.01],
|
|
||||||
[1587952800000, 7581.02],
|
|
||||||
[1587956400000, 7586.91],
|
|
||||||
[1587960000000, 7592.45],
|
|
||||||
[1587963600000, 7596.66],
|
|
||||||
[1587967200000, 7599.19],
|
|
||||||
[1587970800000, 7602.94],
|
|
||||||
[1587974400000, 7606.71],
|
|
||||||
[1587978000000, 7610.32],
|
|
||||||
[1587981600000, 7613.67],
|
|
||||||
[1587985200000, 7617.62],
|
|
||||||
[1587988800000, 7620.5],
|
|
||||||
[1587992400000, 7623.14],
|
|
||||||
[1587996000000, 7624.8],
|
|
||||||
[1587999600000, 7626.66],
|
|
||||||
[1588003200000, 7628.02],
|
|
||||||
[1588006800000, 7629.19],
|
|
||||||
[1588010400000, 7632.35],
|
|
||||||
[1588014000000, 7635.09],
|
|
||||||
[1588017600000, 7637.61],
|
|
||||||
[1588021200000, 7641.42],
|
|
||||||
[1588024800000, 7646.35],
|
|
||||||
[1588028400000, 7651.5],
|
|
||||||
[1588032000000, 7654.93],
|
|
||||||
[1588035600000, 7656.38],
|
|
||||||
[1588039200000, 7657.88],
|
|
||||||
[1588042800000, 7659.31],
|
|
||||||
[1588046400000, 7659.91],
|
|
||||||
[1588050000000, 7661.2],
|
|
||||||
[1588053600000, 7662.98],
|
|
||||||
[1588057200000, 7664.42],
|
|
||||||
[1588060800000, 7665.31],
|
|
||||||
[1588064400000, 7668.07],
|
|
||||||
[1588068000000, 7671.14],
|
|
||||||
[1588071600000, 7673.66],
|
|
||||||
[1588075200000, 7676.97],
|
|
||||||
[1588078800000, 7678.83],
|
|
||||||
[1588082400000, 7678.83],
|
|
||||||
[1588086000000, 7680.28],
|
|
||||||
[1588089600000, 7681.92],
|
|
||||||
[1588093200000, 7683.58],
|
|
||||||
[1588096800000, 7685.51],
|
|
||||||
[1588100400000, 7686.47],
|
|
||||||
[1588104000000, 7687.75],
|
|
||||||
[1588107600000, 7689.09],
|
|
||||||
[1588111200000, 7691.41],
|
|
||||||
[1588114800000, 7693.74],
|
|
||||||
[1588118400000, 7695.43],
|
|
||||||
[1588122000000, 7698.08],
|
|
||||||
[1588125600000, 7701.64],
|
|
||||||
[1588129200000, 7706.36],
|
|
||||||
[1588132800000, 7711.87],
|
|
||||||
[1588136400000, 7717.9],
|
|
||||||
[1588140000000, 7726.85],
|
|
||||||
[1588143600000, 7735.01],
|
|
||||||
[1588147200000, 7742.96],
|
|
||||||
[1588150800000, 7751.99],
|
|
||||||
[1588154400000, 7765.82],
|
|
||||||
[1588158000000, 7779.76],
|
|
||||||
[1588161600000, 7797.42],
|
|
||||||
[1588165200000, 7816.34],
|
|
||||||
[1588168800000, 7837.05],
|
|
||||||
[1588172400000, 7857.3],
|
|
||||||
[1588176000000, 7885.5],
|
|
||||||
[1588179600000, 7917.36],
|
|
||||||
[1588183200000, 7944.68],
|
|
||||||
[1588186800000, 7974.62],
|
|
||||||
[1588190400000, 8011.36],
|
|
||||||
[1588194000000, 8044.51],
|
|
||||||
[1588197600000, 8072.29],
|
|
||||||
[1588201200000, 8099.99],
|
|
||||||
[1588204800000, 8127.53],
|
|
||||||
[1588208400000, 8155.52],
|
|
||||||
[1588212000000, 8186.72],
|
|
||||||
[1588215600000, 8229.17],
|
|
||||||
[1588219200000, 8264.96],
|
|
||||||
[1588222800000, 8307.9],
|
|
||||||
[1588226400000, 8346.83],
|
|
||||||
[1588230000000, 8379],
|
|
||||||
[1588233600000, 8407.85],
|
|
||||||
[1588237200000, 8417.65],
|
|
||||||
[1588240800000, 8436.34],
|
|
||||||
[1588244400000, 8452.32],
|
|
||||||
[1588248000000, 8464.52],
|
|
||||||
[1588251600000, 8480.15],
|
|
||||||
[1588255200000, 8494.03],
|
|
||||||
[1588258800000, 8505.57],
|
|
||||||
[1588262400000, 8512.81],
|
|
||||||
[1588266000000, 8514.92],
|
|
||||||
[1588269600000, 8521.1],
|
|
||||||
[1588273200000, 8533.64],
|
|
||||||
[1588276800000, 8545.27],
|
|
||||||
[1588280400000, 8553.67],
|
|
||||||
[1588284000000, 8561.71],
|
|
||||||
[1588287600000, 8564.46],
|
|
||||||
[1588291200000, 8570.43],
|
|
||||||
[1588294800000, 8574.28],
|
|
||||||
[1588298400000, 8580.55],
|
|
||||||
[1588302000000, 8584.29],
|
|
||||||
[1588305600000, 8592.72],
|
|
||||||
[1588309200000, 8601.36],
|
|
||||||
[1588312800000, 8607.55],
|
|
||||||
[1588316400000, 8613.97],
|
|
||||||
[1588320000000, 8621.45],
|
|
||||||
[1588323600000, 8630.8],
|
|
||||||
[1588327200000, 8642.08],
|
|
||||||
[1588330800000, 8656.5],
|
|
||||||
[1588334400000, 8665.48],
|
|
||||||
[1588338000000, 8670.76],
|
|
||||||
[1588341600000, 8677.4],
|
|
||||||
[1588345200000, 8679.92],
|
|
||||||
[1588348800000, 8682.61],
|
|
||||||
[1588352400000, 8686.04],
|
|
||||||
[1588356000000, 8688.3],
|
|
||||||
[1588359600000, 8690.15],
|
|
||||||
[1588363200000, 8691.92],
|
|
||||||
[1588366800000, 8698.08],
|
|
||||||
[1588370400000, 8703.69],
|
|
||||||
[1588374000000, 8708.36],
|
|
||||||
[1588377600000, 8713.52],
|
|
||||||
[1588381200000, 8717.02],
|
|
||||||
[1588384800000, 8720.9],
|
|
||||||
[1588388400000, 8725.51],
|
|
||||||
[1588392000000, 8729.2],
|
|
||||||
[1588395600000, 8733.02],
|
|
||||||
[1588399200000, 8736.7],
|
|
||||||
[1588402800000, 8739.47],
|
|
||||||
[1588406400000, 8741.29],
|
|
||||||
[1588410000000, 8744.2],
|
|
||||||
[1588413600000, 8747.83],
|
|
||||||
[1588417200000, 8751.9],
|
|
||||||
[1588420800000, 8756.44],
|
|
||||||
[1588424400000, 8762.45],
|
|
||||||
[1588428000000, 8768.76],
|
|
||||||
[1588431600000, 8775.32],
|
|
||||||
[1588435200000, 8783.3],
|
|
||||||
[1588438800000, 8790.4],
|
|
||||||
[1588442400000, 8793.32],
|
|
||||||
[1588446000000, 8796.59],
|
|
||||||
[1588449600000, 8801.7],
|
|
||||||
[1588453200000, 8806.74],
|
|
||||||
[1588456800000, 8811.93],
|
|
||||||
[1588460400000, 8818.61],
|
|
||||||
[1588464000000, 8831.04],
|
|
||||||
[1588467600000, 8842.53],
|
|
||||||
[1588471200000, 8852.15],
|
|
||||||
[1588474800000, 8863.83],
|
|
||||||
[1588478400000, 8874.08],
|
|
||||||
[1588482000000, 8883.2],
|
|
||||||
[1588485600000, 8888.44],
|
|
||||||
[1588489200000, 8892.77],
|
|
||||||
[1588492800000, 8898.74],
|
|
||||||
[1588496400000, 8906.85],
|
|
||||||
[1588500000000, 8912.38],
|
|
||||||
[1588503600000, 8917.73],
|
|
||||||
[1588507200000, 8919.61],
|
|
||||||
[1588510800000, 8919.94],
|
|
||||||
[1588514400000, 8914.01],
|
|
||||||
[1588518000000, 8910.11],
|
|
||||||
[1588521600000, 8907.85],
|
|
||||||
[1588525200000, 8904.53],
|
|
||||||
[1588528800000, 8902.49],
|
|
||||||
[1588532400000, 8901.27],
|
|
||||||
[1588536000000, 8899.3],
|
|
||||||
[1588539600000, 8897.66],
|
|
||||||
[1588543200000, 8897.58],
|
|
||||||
[1588546800000, 8897.67],
|
|
||||||
[1588550400000, 8894.27],
|
|
||||||
[1588554000000, 8886.41],
|
|
||||||
[1588557600000, 8880.94],
|
|
||||||
[1588561200000, 8875.21],
|
|
||||||
[1588564800000, 8867.83],
|
|
||||||
[1588568400000, 8857.98],
|
|
||||||
[1588572000000, 8849.06],
|
|
||||||
[1588575600000, 8841.29],
|
|
||||||
[1588579200000, 8834.87],
|
|
||||||
[1588582800000, 8827.3],
|
|
||||||
[1588586400000, 8819.57],
|
|
||||||
[1588590000000, 8814.05],
|
|
||||||
[1588593600000, 8809.81],
|
|
||||||
[1588597200000, 8810.25],
|
|
||||||
[1588600800000, 8809.34],
|
|
||||||
[1588604400000, 8810.73],
|
|
||||||
[1588608000000, 8811.39],
|
|
||||||
[1588611600000, 8811.04],
|
|
||||||
[1588615200000, 8812.43],
|
|
||||||
[1588618800000, 8813.15],
|
|
||||||
[1588622400000, 8817.18],
|
|
||||||
[1588626000000, 8822.37],
|
|
||||||
[1588629600000, 8824.43],
|
|
||||||
[1588633200000, 8826.05],
|
|
||||||
[1588636800000, 8828.52],
|
|
||||||
[1588640400000, 8830.3],
|
|
||||||
[1588644000000, 8831.07],
|
|
||||||
[1588647600000, 8831.93],
|
|
||||||
[1588651200000, 8840.68],
|
|
||||||
[1588654800000, 8847.61],
|
|
||||||
[1588658400000, 8854.37],
|
|
||||||
[1588662000000, 8860.75],
|
|
||||||
[1588665600000, 8867.08],
|
|
||||||
[1588669200000, 8872.5],
|
|
||||||
[1588672800000, 8871.24],
|
|
||||||
[1588676400000, 8870.08],
|
|
||||||
[1588680000000, 8870.14],
|
|
||||||
[1588683600000, 8871.87],
|
|
||||||
[1588687200000, 8872.16],
|
|
||||||
[1588690800000, 8870.74],
|
|
||||||
[1588694400000, 8870.66],
|
|
||||||
[1588698000000, 8870.6],
|
|
||||||
[1588701600000, 8871.45],
|
|
||||||
[1588705200000, 8872.74],
|
|
||||||
[1588708800000, 8875.34],
|
|
||||||
[1588712400000, 8878.77],
|
|
||||||
[1588716000000, 8881.96],
|
|
||||||
[1588719600000, 8887.37],
|
|
||||||
[1588723200000, 8889.64],
|
|
||||||
[1588726800000, 8893.21],
|
|
||||||
[1588730400000, 8896.18],
|
|
||||||
[1588734000000, 8899.37],
|
|
||||||
[1588737600000, 8903.37],
|
|
||||||
[1588741200000, 8907.51],
|
|
||||||
[1588744800000, 8911.96],
|
|
||||||
[1588748400000, 8916.3],
|
|
||||||
[1588752000000, 8921.16],
|
|
||||||
[1588755600000, 8927.77],
|
|
||||||
[1588759200000, 8939.93],
|
|
||||||
[1588762800000, 8954.95],
|
|
||||||
[1588766400000, 8965.85],
|
|
||||||
[1588770000000, 8976.49],
|
|
||||||
[1588773600000, 8986.7],
|
|
||||||
[1588777200000, 8998.51],
|
|
||||||
[1588780800000, 9010.65]
|
|
||||||
],
|
|
||||||
"settings": {
|
|
||||||
"upper": 70,
|
|
||||||
"lower": 30,
|
|
||||||
"backColor": "#9b9ba316",
|
|
||||||
"bandColor": "#666"
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<trading-vue
|
<trading-vue
|
||||||
:data="chart"
|
:data="tvData"
|
||||||
:width="width"
|
:width="width"
|
||||||
:height="height"
|
:height="height"
|
||||||
:toolbar="false"
|
:toolbar="false"
|
||||||
@ -9,24 +9,18 @@
|
|||||||
:color-text="colors.colorText"
|
:color-text="colors.colorText"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import TradingVue from 'trading-vue-js'
|
import TradingVue from 'trading-vue-js'
|
||||||
import Data from './data.json'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: { TradingVue },
|
components: { TradingVue },
|
||||||
props: {
|
props: {
|
||||||
list: {
|
list: [],
|
||||||
required: true,
|
|
||||||
type: Array,
|
|
||||||
default: () => [],
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
chart: Data,
|
|
||||||
width: 700,
|
width: 700,
|
||||||
height: 600,
|
height: 600,
|
||||||
colors: {
|
colors: {
|
||||||
@ -36,21 +30,14 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
Data.chart.data = this.list
|
computed: {
|
||||||
this.chart = Data
|
tvData() {
|
||||||
},
|
return {
|
||||||
// mounted() {
|
ohlcv: this.list,
|
||||||
// window.addEventListener('resize', this.onResize)
|
}
|
||||||
// },
|
|
||||||
// beforeDestroy() {
|
|
||||||
// window.removeEventListener('resize', this.onResize)
|
|
||||||
// },
|
|
||||||
methods: {
|
|
||||||
onResize() {
|
|
||||||
this.width = document.getElementById('kline-area')?.offsetWidth
|
|
||||||
this.height = window.innerHeight
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user