remove fee column from bot
This commit is contained in:
parent
be95d699d2
commit
f838ba2a9b
@ -328,7 +328,6 @@ class FreqtradeBot(object):
|
|||||||
pair=pair,
|
pair=pair,
|
||||||
stake_amount=stake_amount,
|
stake_amount=stake_amount,
|
||||||
amount=amount,
|
amount=amount,
|
||||||
fee=fee,
|
|
||||||
fee_open=fee,
|
fee_open=fee,
|
||||||
fee_close=fee,
|
fee_close=fee,
|
||||||
open_rate=buy_limit,
|
open_rate=buy_limit,
|
||||||
|
@ -85,7 +85,6 @@ class Trade(_DECL_BASE):
|
|||||||
exchange = Column(String, nullable=False)
|
exchange = Column(String, nullable=False)
|
||||||
pair = Column(String, nullable=False)
|
pair = Column(String, nullable=False)
|
||||||
is_open = Column(Boolean, nullable=False, default=True)
|
is_open = Column(Boolean, nullable=False, default=True)
|
||||||
fee = Column(Float, nullable=False, default=0.0)
|
|
||||||
fee_open = Column(Float, nullable=False, default=0.0)
|
fee_open = Column(Float, nullable=False, default=0.0)
|
||||||
fee_close = Column(Float, nullable=False, default=0.0)
|
fee_close = Column(Float, nullable=False, default=0.0)
|
||||||
open_rate = Column(Float)
|
open_rate = Column(Float)
|
||||||
|
@ -812,7 +812,8 @@ def test_check_handle_timedout_buy(default_conf, ticker, limit_buy_order_old, fe
|
|||||||
exchange='bittrex',
|
exchange='bittrex',
|
||||||
open_order_id='123456789',
|
open_order_id='123456789',
|
||||||
amount=90.99181073,
|
amount=90.99181073,
|
||||||
fee=0.0,
|
fee_open=0.0,
|
||||||
|
fee_close=0.0,
|
||||||
stake_amount=1,
|
stake_amount=1,
|
||||||
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
||||||
is_open=True
|
is_open=True
|
||||||
@ -851,7 +852,8 @@ def test_check_handle_timedout_sell(default_conf, ticker, limit_sell_order_old,
|
|||||||
exchange='bittrex',
|
exchange='bittrex',
|
||||||
open_order_id='123456789',
|
open_order_id='123456789',
|
||||||
amount=90.99181073,
|
amount=90.99181073,
|
||||||
fee=0.0,
|
fee_open=0.0,
|
||||||
|
fee_close=0.0,
|
||||||
stake_amount=1,
|
stake_amount=1,
|
||||||
open_date=arrow.utcnow().shift(hours=-5).datetime,
|
open_date=arrow.utcnow().shift(hours=-5).datetime,
|
||||||
close_date=arrow.utcnow().shift(minutes=-601).datetime,
|
close_date=arrow.utcnow().shift(minutes=-601).datetime,
|
||||||
@ -890,7 +892,8 @@ def test_check_handle_timedout_partial(default_conf, ticker, limit_buy_order_old
|
|||||||
exchange='bittrex',
|
exchange='bittrex',
|
||||||
open_order_id='123456789',
|
open_order_id='123456789',
|
||||||
amount=90.99181073,
|
amount=90.99181073,
|
||||||
fee=0.0,
|
fee_open=0.0,
|
||||||
|
fee_close=0.0,
|
||||||
stake_amount=1,
|
stake_amount=1,
|
||||||
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
||||||
is_open=True
|
is_open=True
|
||||||
@ -937,7 +940,8 @@ def test_check_handle_timedout_exception(default_conf, ticker, mocker, caplog) -
|
|||||||
exchange='bittrex',
|
exchange='bittrex',
|
||||||
open_order_id='123456789',
|
open_order_id='123456789',
|
||||||
amount=90.99181073,
|
amount=90.99181073,
|
||||||
fee=0.0,
|
fee_open=0.0,
|
||||||
|
fee_close=0.0,
|
||||||
stake_amount=1,
|
stake_amount=1,
|
||||||
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
open_date=arrow.utcnow().shift(minutes=-601).datetime,
|
||||||
is_open=True
|
is_open=True
|
||||||
|
Loading…
Reference in New Issue
Block a user