Last active
April 18, 2020 10:05
-
-
Save omicronns/90cbb2cc2a8046ad1171b1108d73c352 to your computer and use it in GitHub Desktop.
Trading data plot api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "plot": { | |
| "timestamps": [1234564897, 1234564897], | |
| "datasets": [ | |
| { | |
| "label": "Quote funds", | |
| "data": [0.123, 0.2], | |
| "yAxisID": "y_quote" | |
| }, | |
| { | |
| "label": "Slow mean", | |
| "data": [100, 101], | |
| "yAxisID": "y_price" | |
| }, | |
| { | |
| "label": "Fast mean", | |
| "data": [105, 120], | |
| "yAxisID": "y_price" | |
| }, | |
| { | |
| "label": "Price", | |
| "data": [101, 106], | |
| "yAxisID": "y_price" | |
| } | |
| ], | |
| "options": { | |
| "title": { | |
| "display": true, | |
| "text": "Trading History" | |
| }, | |
| "scales": { | |
| "yAxes": [ | |
| { | |
| "type": "linear", | |
| "display": true, | |
| "position": "left", | |
| "id": "y_price" | |
| }, | |
| { | |
| "type": "linear", | |
| "display": true, | |
| "position": "right", | |
| "id": "y_quote" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment