Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Sat, 24 Aug 2019 18:48:24 +0000


volume with decimal points

Support Request:
[2017-06-05 04:36:22]
onnb - Posts: 527
Working on a crypto currencies DTC server.
When calling MARKET_DATA_UPDATE_TRADE, can I send in volume with decimal places? Does SC handle that ok?
[2017-06-06 04:40:51]
DTC Engineering - Posts: 276
Sierra Chart can only work with Integers.

The Volume Display Format setting in Global Settings >> Symbol Settings will then adjust those integers into fractional values when displayed.
Date Time Of Last Edit: 2017-06-06 06:39:33
[2017-06-06 06:20:37]
onnb - Posts: 527
just to see I understand

say we want to capture volume with 2 digit precision.
If volume is 5.75, we would be sending 575 to SC through the DTC api

In the symbol settings, I would set the value format to 0.01
I should then expect to see 5.75 in the T&S window?
[2017-06-06 06:39:01]
DTC Engineering - Posts: 276

If volume is 5.75, we would be sending 575 to SC through the DTC api
Yes.



In the symbol settings, I would set the value format to 0.01
The particular setting is Volume Display Format and will need to be .01.

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account