From 4355fe558acb7dfed32b34300212223f4ac211db Mon Sep 17 00:00:00 2001
From: pharesim <pharesim@protonmail.com>
Date: Fri, 20 Mar 2020 20:30:55 +0100
Subject: [PATCH] dex op symbol

---
 docs/conf.py     |  2 +-
 hive/__init__.py |  2 +-
 hive/dex.py      | 10 +++++-----
 setup.py         |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index debf5f4..5303f4c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com'
 # The short X.Y version.
 version = '0.9'
 # The full version, including alpha/beta/rc tags.
-release = '0.9.11'
+release = '0.9.12'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/hive/__init__.py b/hive/__init__.py
index 4f60b4b..f879fb5 100644
--- a/hive/__init__.py
+++ b/hive/__init__.py
@@ -1,4 +1,4 @@
 # -*- coding: utf-8 -*-
 from .hive import Hive
 
-__version__ = '0.9.11'
+__version__ = '0.9.12'
diff --git a/hive/dex.py b/hive/dex.py
index 3fc4600..0eed603 100644
--- a/hive/dex.py
+++ b/hive/dex.py
@@ -15,7 +15,7 @@ class Dex(object):
         accessing a RPC
 
     """
-    assets = ["HIVE", "HBD"]
+    assets = ["HIVE", "HBD", "STEEM", "SBD"]
 
     def __init__(self, hived_instance=None):
         self.hived = hived_instance or shared_hived_instance()
@@ -28,10 +28,10 @@ class Dex(object):
             VESTS)
 
         """
-        if symbol == "HIVE":
-            return {"symbol": "HIVE", "precision": 3}
-        elif symbol == "HBD":
-            return {"symbol": "HBD", "precision": 3}
+        if symbol == "HIVE" or symbol == "STEEM":
+            return {"symbol": "STEEM", "precision": 3}
+        elif symbol == "HBD" or symbol == "SBD":
+            return {"symbol": "SBD", "precision": 3}
         elif symbol == "VESTS":
             return {"symbol": "VESTS", "precision": 6}
         else:
diff --git a/setup.py b/setup.py
index bfaa3a1..437d40a 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand
 
 # Package meta-data.
 NAME = 'hivepy'
-VERSION = '0.9.11'
+VERSION = '0.9.12'
 DESCRIPTION = 'A python hive library.'
 URL = 'https://github.com/pharesim/hive-python'
 EMAIL = 'pharesim@protonmail.com'
-- 
GitLab