Open SaxenaKaustubh opened 3 months ago
While calculating PriceOracle aggregate pricing using the get_aggregate_price method, I noticed the following issues:
get_aggregate_price
trim
1.2
1
oracle_document_id
None
BaseAsset
QuoteAsset
"Invalid"
123
-1
0
"0158415500000000C1F76FF6ECB0BAC600000000A"
"H"
"HB"
"HBAR"
""
While calculating PriceOracle aggregate pricing using the
get_aggregate_price
method, I noticed the following issues:trim
: A decimal value e.g.1.2
gets truncated to int e.g.1
.oracle_document_id
: A decimal value e.g.1.2
gets truncated to int e.g.1
.oracle_document_id
field for an input ofNone
.BaseAsset
andQuoteAsset
fields. All of the following values are acceptable:None
"Invalid"
123
-1
0
1.2
"0158415500000000C1F76FF6ECB0BAC600000000A"
"H"
"HB"
"HBAR"
""