tailwind #9

Manually merged
peperunas merged 157 commits from tailwind into master 2020-12-28 18:38:52 +00:00
Showing only changes of commit f35ab007d9 - Show all commits

View File

@ -58,10 +58,10 @@ class BfxBot:
await self.__status[symbol].__add_event__(Event(EventKind.NEW_TICK, self.__ticker.current_tick))
def close_order(self, symbol: Symbol, order_id: int):
raise NotImplementedError
print(f"I would have closed order {order_id} for {symbol}")
def close_position(self, symbol: Symbol, position_id: int):
raise NotImplementedError
print(f"I would have closed order {position_id} for {symbol}")
def set_strategy(self, symbol, strategy: Strategy):
if symbol in self.__status: