Next to create an instance of a Candlestick chart configuration using curl.

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
"topicId": "58a80d7d9b20b239b3378e6e", \
"period": 3600 \
}' 'http://api.datagator.tech/users/5769d43bc577a38c3ff66/candlesticks?access_token=TOKEN'

The response below showing the Aggregate objects automatically found for the Topic. Also there are no default values set for candlestickName, candlestickDesc or candlestickUnit as these are dynamically looked up from the Topic each time a chart image is generated on the server.

{
"topicId": "58a80d7d9b20b239b3378e6e",
"period": 3600,
"ohlcAggIds": [
"58a80ea79b20b239b3378e72",
"58a80e6f9b20b239b3378e71",
"58a80e3c9b20b239b3378e70",
"58a80e059b20b239b3378e6f"
],
"width": 1280,
"height": 720,
"imageFormat": "svg",
"imageDPI": 120,
"imageQuality": 80,
"theme": "dark",
"showInfo": true,
"timeZone": "utc",
"locale": "en_US.UTF-8",
"id": "58a85f5c9b20b239b3378e7d"
}