Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Tue, 13 Nov 2018 05:33:54 +0000


volume with decimal points

Support Request:
[2017-06-05 04:36:22]
onnb - Posts: 499
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: 270
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: 499
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: 270

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