Closed nasyarobby closed 2 years ago
Hello,
Just add the volume
property in your JSON, like this :
echo '[
{
"date": "2021-11-03",
"open": 63254.335938,
"high": 63516.9375,
"low": 61184.238281,
"close": 62970.046875,
"volume": 16124731509
},
{
"date": "2021-11-04",
"open": 62941.804688,
"high": 63123.289063,
"low": 60799.664063,
"close": 61452.230469,
"volume": 42615846901
},
{
"date": "2021-11-05",
"open": 61460.078125,
"high": 62541.46875,
"low": 60844.609375,
"close": 61125.675781,
"volume": 30605102446
}
]' | ./cli-candlestick-chart --mode=stdin
I can see volume attribute under the chart but the documentation does not mention volume in the JSON format.
How to set the volume and display it?