How can I protect myself from buying on the very top of the pit in Pump?

: Strategy settings

Use the PumpUsePrevBuyPrice: Use 2-second price if not specified to use 30-second price) parameter for this purpose. The default is on. This setting protects against buying at the very top of the shootout. It was always on programmatically before this setting, so the behavior of the strategy will change when it is disabled! When disabled, the bot will take the current price, which can lead to a purchase at the very top of the pitch.