Elffuss BraidHub

kikocis/freqtrade-strategies public

Removed confirm_buy_entry as upstread change caused it to error out.
Changeset6e2256de808921b5625fb4908268329ec7504f1afffc27b0af637469fff1a753
AuthorBryan Chain <bryan.chain@cerner.com> · 2021-04-01 18:14 -04:00
CommitterBryan Chain <bryan.chain@cerner.com> · 2021-04-01 18:14 -04:00
Parents5ac5a04381bb

Browse the files at this changeset

1 file changed

modified strategies/Solipsis_v3.py +0 −8
@@ -512,14 +512,6 @@
512512 return True
513513 return False
514514
515- def confirm_trade_entry(self, pair: str, order_type: str, amount: float, rate: float, time_in_force: str, **kwargs) -> bool:
516- bid_strategy = self.config.get('bid_strategy', {})
517- ob = self.dp.orderbook(pair, 1)
518- current_price = ob[f"{bid_strategy['price_side']}s"][0][0]
519- if current_price > rate * 1.01:
520- return False
521- return True
522-
523515 """
524516 Custom Methods
525517 """