Guest User

Untitled

a guest
Jun 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. options = {
  2. {"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":{}}
  3. }
  4.  
  5. chart.set_dict_options(options)
  6.  
  7. options = {
  8. "chart": {
  9. "type": "column",
  10. "inverted": True,
  11. "polar": False
  12. },
  13. "plotOptions": {
  14. "series": {
  15. "stacking": "normal",
  16. "dataLabels": {
  17. "enabled": True
  18. },
  19. "animation": False
  20. }
  21. },
  22. "title": {
  23. "text": "Commitment of Traders Net Positions"
  24. },
  25. "subtitle": {
  26. "text": "Options only"
  27. },
  28. "series": [
  29. {
  30. "name": "Net Hedging",
  31. "turboThreshold": 0,
  32. "_colorIndex": 0,
  33. "marker": {
  34. "enabled": False
  35. },
  36. "colorByPoint": False
  37. },
  38. {
  39. "name": "Net Speculation",
  40. "turboThreshold": 0,
  41. "_colorIndex": 1
  42. }
  43. ],
  44. "yAxis": {
  45. "title": {
  46. "text": "Net open interest ('000)"
  47. }
  48. },
  49. "xAxis": {},
  50. "data": {
  51. "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",
  52. },
  53. "pane": {
  54. "background": []
  55. },
  56. "responsive": {
  57. "rules": []
  58. },
  59. "legend": {}
  60. }
  61.  
  62. chart.set_dict_options(options)
Add Comment
Please, Sign In to add comment