update docs (fix typos)
This commit is contained in:
+3
-3
@@ -43,7 +43,7 @@ By default, the bot loop runs every few seconds (`internals.process_throttle_sec
|
|||||||
|
|
||||||
* Fetch open trades from persistence.
|
* Fetch open trades from persistence.
|
||||||
* Update trades open order state from exchange
|
* Update trades open order state from exchange
|
||||||
* Call `order_filled()` stategy callback for filled orders.
|
* Call `order_filled()` strategy callback for filled orders.
|
||||||
* Calculate current list of tradable pairs.
|
* Calculate current list of tradable pairs.
|
||||||
* Download OHLCV data for the pairlist including all [informative pairs](strategy-customization.md#get-data-for-non-tradeable-pairs)
|
* Download OHLCV data for the pairlist including all [informative pairs](strategy-customization.md#get-data-for-non-tradeable-pairs)
|
||||||
This step is only executed once per Candle to avoid unnecessary network traffic.
|
This step is only executed once per Candle to avoid unnecessary network traffic.
|
||||||
@@ -88,10 +88,10 @@ This loop will be repeated again and again until the bot is stopped.
|
|||||||
* In Margin and Futures mode, `leverage()` strategy callback is called to determine the desired leverage.
|
* In Margin and Futures mode, `leverage()` strategy callback is called to determine the desired leverage.
|
||||||
* Determine stake size by calling the `custom_stake_amount()` callback.
|
* Determine stake size by calling the `custom_stake_amount()` callback.
|
||||||
* Check position adjustments for open trades if enabled and call `adjust_trade_position()` to determine if an additional order is requested.
|
* Check position adjustments for open trades if enabled and call `adjust_trade_position()` to determine if an additional order is requested.
|
||||||
* Call `order_filled()` stategy callback for filled entry orders.
|
* Call `order_filled()` strategy callback for filled entry orders.
|
||||||
* Call `custom_stoploss()` and `custom_exit()` to find custom exit points.
|
* Call `custom_stoploss()` and `custom_exit()` to find custom exit points.
|
||||||
* For exits based on exit-signal, custom-exit and partial exits: Call `custom_exit_price()` to determine exit price (Prices are moved to be within the closing candle).
|
* For exits based on exit-signal, custom-exit and partial exits: Call `custom_exit_price()` to determine exit price (Prices are moved to be within the closing candle).
|
||||||
* Call `order_filled()` stategy callback for filled exit orders.
|
* Call `order_filled()` strategy callback for filled exit orders.
|
||||||
* Generate backtest report output
|
* Generate backtest report output
|
||||||
|
|
||||||
!!! Note
|
!!! Note
|
||||||
|
|||||||
@@ -1028,7 +1028,7 @@ Defining a stoploss of 10% at 10x leverage would trigger the stoploss with a 1%
|
|||||||
|
|
||||||
The `order_filled()` callback may be used by strategy developer to perform specific actions based on current trade state after an order is filled.
|
The `order_filled()` callback may be used by strategy developer to perform specific actions based on current trade state after an order is filled.
|
||||||
|
|
||||||
Assuming that your strategy need to store the high value of the candle at trade entry, this is possible with this callback as the following exemple show.
|
Assuming that your strategy need to store the high value of the candle at trade entry, this is possible with this callback as the following example show.
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
class AwesomeStrategy(IStrategy):
|
class AwesomeStrategy(IStrategy):
|
||||||
|
|||||||
Reference in New Issue
Block a user