mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 03:57:42 +08:00
47 lines
762 B
Python
47 lines
762 B
Python
import unittest
|
|
from abc import ABCMeta, abstractmethod
|
|
|
|
|
|
class BaseExchangeTestCase():
|
|
__metaclass__ = ABCMeta
|
|
|
|
@abstractmethod
|
|
def test_positions(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_portfolio(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_account(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_time_skew(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_open_orders(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_cancel_order(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_get_spot_value(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def test_tickers(self):
|
|
pass
|