mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
parent
34a44b9dd2
commit
27bea580d4
|
@ -261,7 +261,7 @@ class FtRestClient():
|
||||||
}
|
}
|
||||||
return self._post("forcebuy", data=data)
|
return self._post("forcebuy", data=data)
|
||||||
|
|
||||||
def force_enter(self, pair, side, price=None):
|
def forceenter(self, pair, side, price=None):
|
||||||
"""Force entering a trade
|
"""Force entering a trade
|
||||||
|
|
||||||
:param pair: Pair to buy (ETH/BTC)
|
:param pair: Pair to buy (ETH/BTC)
|
||||||
|
@ -273,7 +273,7 @@ class FtRestClient():
|
||||||
"side": side,
|
"side": side,
|
||||||
"price": price,
|
"price": price,
|
||||||
}
|
}
|
||||||
return self._post("force_enter", data=data)
|
return self._post("forceenter", data=data)
|
||||||
|
|
||||||
def forceexit(self, tradeid):
|
def forceexit(self, tradeid):
|
||||||
"""Force-exit a trade.
|
"""Force-exit a trade.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user