mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 03:33:01 +08:00
39 lines
632 B
Python
39 lines
632 B
Python
import unittest
|
|
from abc import ABCMeta, abstractmethod
|
|
|
|
|
|
class BaseExchangeTestCase:
|
|
__metaclass__ = ABCMeta
|
|
|
|
@abstractmethod
|
|
def test_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_open_orders(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_cancel_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_candles(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_tickers(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_balances(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_account(self):
|
|
pass
|