We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68ae091 commit b09b56bCopy full SHA for b09b56b
bitshares/market.py
@@ -114,7 +114,10 @@ def ticker(self):
114
"""
115
data = {}
116
# Core Exchange rate
117
- cer = self["quote"]["options"]["core_exchange_rate"]
+ if self["quote"]["id"] == '1.3.0':
118
+ cer = self["base"]["options"]["core_exchange_rate"]
119
+ else:
120
+ cer = self["quote"]["options"]["core_exchange_rate"]
121
data["core_exchange_rate"] = Price(
122
cer,
123
blockchain_instance=self.blockchain
0 commit comments