Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Wed, 22 Jan 2020 22:00:35 +0000


volume with decimal points

[2017-06-05 04:36:22]
onnb - Posts: 552 | Ending Date: 2020-11-29
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: 282 | Ending Date: 2015-09-08 [Expired]
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: 552 | Ending Date: 2020-11-29
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: 282 | Ending Date: 2015-09-08 [Expired]

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