Skip to content

Why are we using double for BaseCurrencyVolume and QuoteCurrencyVolume in MarketCandle? #836

Closed
@BZ-CO

Description

@BZ-CO

Why are we using double for BaseCurrencyVolume and QuoteCurrencyVolume in MarketCandle?
Shouldn't we use decimal instead?

I've noticed that casting baseVolume and convertVolume to double the precision is lost.

candle.BaseCurrencyVolume = (double)baseVolume;

candle.QuoteCurrencyVolume = (double)convertVolume;

debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions