Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options = {
- {"chart":{"type":"column","inverted":True,"polar":False},"plotOptions":{"series":{"stacking":"normal","dataLabels":{"enabled":True},"animation":False}},"title":{"text":"Commitment of Traders Net Positions"},"subtitle":{"text":"Options only"},"series":[{"name":"Net Hedging","turboThreshold":0,"_colorIndex":0,"marker":{"enabled":False},"colorByPoint":False},{"name":"Net Speculation","turboThreshold":0,"_colorIndex":1}],"yAxis":{"title":{"text":"Net open interest ('000)"}},"xAxis":{},"data":{"csv":""Commodity";"Net Hedging";"Net Speculation"n"Crude oil";-2.66;66.58n"Natural gas";-6.28;6.4n"Gold";-28.33;31.48n"Silver";-8.6;7.16n"Corn";-18.79;-27.98n"Soybeans";-5.04;6.93"},"pane":{"background":[]},"responsive":{"rules":[]},"legend":{}}
- }
- chart.set_dict_options(options)
- options = {
- "chart": {
- "type": "column",
- "inverted": True,
- "polar": False
- },
- "plotOptions": {
- "series": {
- "stacking": "normal",
- "dataLabels": {
- "enabled": True
- },
- "animation": False
- }
- },
- "title": {
- "text": "Commitment of Traders Net Positions"
- },
- "subtitle": {
- "text": "Options only"
- },
- "series": [
- {
- "name": "Net Hedging",
- "turboThreshold": 0,
- "_colorIndex": 0,
- "marker": {
- "enabled": False
- },
- "colorByPoint": False
- },
- {
- "name": "Net Speculation",
- "turboThreshold": 0,
- "_colorIndex": 1
- }
- ],
- "yAxis": {
- "title": {
- "text": "Net open interest ('000)"
- }
- },
- "xAxis": {},
- "data": {
- "csv": ""Commodity";"Net Hedging";"Net Speculation"n"Crude oil";-2.66;66.58n"Natural gas";-6.28;6.4n"Gold";-28.33;31.48n"Silver";-8.6;7.16n"Corn";-18.79;-27.98n"Soybeans";-5.04;6.93",
- },
- "pane": {
- "background": []
- },
- "responsive": {
- "rules": []
- },
- "legend": {}
- }
- chart.set_dict_options(options)
Add Comment
Please, Sign In to add comment