Fix typo, add test for validate_order_tif

This commit is contained in:
Matthias
2019-03-27 20:51:55 +01:00
parent e15f2ef11a
commit 9b22d5cab1
2 changed files with 23 additions and 1 deletions

View File

@@ -272,7 +272,7 @@ class Exchange(object):
if any(v not in self._ft_has["order_time_in_force"]
for k, v in order_time_in_force.items()):
raise OperationalException(
f'Time in force policies are not supporetd for {self.name} yet.')
f'Time in force policies are not supported for {self.name} yet.')
def exchange_has(self, endpoint: str) -> bool:
"""