use pytest
This commit is contained in:
parent
df4da75535
commit
8d3a6279b2
@ -91,6 +91,7 @@ def execute_sell(trade: Trade, current_rate: float) -> None:
|
||||
whitelist = _CONF[trade.exchange.name.lower()]['pair_whitelist']
|
||||
|
||||
profit = trade.exec_sell_order(current_rate, balance)
|
||||
if trade.pair not in whitelist:
|
||||
whitelist.append(trade.pair)
|
||||
message = '*{}:* Selling [{}]({}) at rate `{:f} (profit: {}%)`'.format(
|
||||
trade.exchange.name,
|
||||
|
4
setup.py
4
setup.py
@ -12,8 +12,8 @@ setup(name='freqtrade',
|
||||
license='GPLv3',
|
||||
packages=['freqtrade'],
|
||||
scripts=['bin/freqtrade'],
|
||||
test_suite='nose.collector',
|
||||
tests_require=['nose'],
|
||||
setup_requires=['pytest-runner'],
|
||||
tests_require=['pytest'],
|
||||
install_requires=[
|
||||
'python-bittrex==0.1.3',
|
||||
'SQLAlchemy==1.1.13',
|
||||
|
Loading…
Reference in New Issue
Block a user