caps BUY_TAG_IDX
This commit is contained in:
parent
49886874aa
commit
f5a660f845
@ -43,7 +43,7 @@ CLOSE_IDX = 3
|
|||||||
SELL_IDX = 4
|
SELL_IDX = 4
|
||||||
LOW_IDX = 5
|
LOW_IDX = 5
|
||||||
HIGH_IDX = 6
|
HIGH_IDX = 6
|
||||||
buy_tag_IDX = 7
|
BUY_TAG_IDX = 7
|
||||||
|
|
||||||
|
|
||||||
class Backtesting:
|
class Backtesting:
|
||||||
@ -370,7 +370,7 @@ class Backtesting:
|
|||||||
fee_open=self.fee,
|
fee_open=self.fee,
|
||||||
fee_close=self.fee,
|
fee_close=self.fee,
|
||||||
is_open=True,
|
is_open=True,
|
||||||
buy_tag=row[buy_tag_IDX],
|
buy_tag=row[BUY_TAG_IDX],
|
||||||
exchange='backtesting',
|
exchange='backtesting',
|
||||||
)
|
)
|
||||||
return trade
|
return trade
|
||||||
|
Loading…
Reference in New Issue
Block a user