Groovy web console

subscribe to the feed Subscribe
to this
site

chrt

Published 4 months ago by chrt with tags chrt
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
'{"chart":{"plotBorderWidth":1,"events":{}},"exporting":{"enabled":false},"credits":{"enabled":false},"title":{"text":null},"subtitle":{"text":null},"xAxis":{"title":{"text":""},"type":"datetime","lineWidth":0,"labels":{},"crosshair":{"color":"#939699","width":2}},"yAxis":[{"groupName":"Price","labels":{},"title":{"text":"Price ($)"},"softMin":0,"softMax":0,"startOnTick":true,"endOnTick":true,"alignTicks":true,"reversed":false,"opposite":false,"gridLineWidth":0,"min":1.3,"max":1.39},{"groupName":"Return Rates","labels":{},"title":{"text":"Return Rates (%)"},"softMin":-5.11,"softMax":1.46,"startOnTick":true,"endOnTick":true,"alignTicks":true,"reversed":false,"opposite":true,"gridLineWidth":0},{"groupName":"Share Quantity","labels":{},"title":{"text":"Share Quantity"},"softMin":-2576,"softMax":675121,"startOnTick":true,"endOnTick":true,"alignTicks":true,"reversed":false,"opposite":true,"gridLineWidth":0}],"tooltip":{"backgroundColor":"transparent","padding":0,"borderWidth":0,"shadow":false,"useHTML":true,"split":true,"shared":true,"followPointer":false},"plotOptions":{"column":{"stacking":"normal"}},"legend":{"align":"center","verticalAlign":"bottom","itemStyle":{"fontFamily":"Open Sans","fontWeight":"400","fontSize":"12px","color":"#212529"},"backgroundColor":"rgba(255,255,255,0.25)"},"series":[{"name":"Security Price","type":"line","data":[{"x":1662004800000,"y":1.36},{"x":1662091200000,"y":1.31},{"x":1662436800000,"y":1.3},{"x":1662523200000,"y":1.32},{"x":1662609600000,"y":1.33},{"x":1662696000000,"y":1.39}],"marker":{"enabled":true},"softThreshold":false,"format":"2","prefix":"$","yAxis":0},{"name":"Cumulative Security Return","type":"line","data":[{"x":1662004800000,"y":-0.73},{"x":1662091200000,"y":-4.38},{"x":1662436800000,"y":-5.11},{"x":1662523200000,"y":-3.65},{"x":1662609600000,"y":-2.92},{"x":1662696000000,"y":1.46}],"marker":{"enabled":true},"softThreshold":false,"format":"2","suffix":"%","yAxis":1},{"name":"Short Quantity","type":"column","data":[{"x":1662004800000,"y":-149},{"x":1662091200000,"y":-2576},{"x":1662436800000,"y":0},{"x":1662523200000,"y":-218},{"x":1662609600000,"y":0},{"x":1662696000000,"y":0}],"marker":{"enabled":true},"softThreshold":false,"format":"0","yAxis":2,"stack":"Short Quantity"},{"name":"Long Quantity","type":"column","data":[{"x":1662004800000,"y":2492},{"x":1662091200000,"y":945},{"x":1662436800000,"y":0},{"x":1662523200000,"y":675121},{"x":1662609600000,"y":639},{"x":1662696000000,"y":0}],"marker":{"enabled":true},"softThreshold":false,"format":"0","yAxis":2,"stack":"Long Quantity"}]}'