LASTSELL is a strategy that buys only if the ASK price is below the sold price of latest sell in sales log for our PAIR.
If the sell log does not contain this PAIR indicator always returns false.
A buy_value is optional. Define a buy_value to add or substract x% from the last sold price and make that new value our trigger value.
DEFAULT_DCA_A_Buy_Strategy = LASTSELL
DEFAULT_A_buy_strategy = LASTSELL
Avg Price of our last sell for this PAIR was 0.0352965
\\ Current ask price is 0.0351170 \\
So the LASTSELL value is true.
DEFAULT_A_buy_strategy = LASTSELL
DEFAULT_A_buy_value = 2
Sold Price of our last sell for this PAIR was 0.0352965
\\ Trigger = 0.0352965 * ((100 + 2) / 100) = 0.03600243 (2 is our buy_value)
Current ask price is 0.0351170 \\
So the LASTSELL value is true as trigger is higher than current ask price.