# Examples

Any coins/stocks listed below are purely used as example and are not a recommendation to buy or sell.

```
[phBot]
Agree=false
Username=
Password=
Interval=5
Delay=5

[Coinbase]
Enabled=true
Key=
Secret=
Passphrase=
Pairs=BTC-USD
Proxy=
URL=https://api.pro.coinbase.com

[Binance]
Enabled=false
Key=
Secret=
Pairs=BTCUSDT
Proxy=
URL=https://api.binance.us
Margin=false

[Gemini]
Enabled=false
Key=
Secret=
Pairs=BTCUSD
Proxy=
URL=https://api.gemini.com

[Alpaca]
Enabled=false
Key=
Secret=
Pairs=SPY
Proxy=
URL=https://api.alpaca.markets

[Alpaca Crypto]
Enabled=false
Key=
Secret=
Pairs=SPY
Proxy=
URL=https://api.alpaca.markets

[Kraken]
Enabled=false
Key=
Secret=
URL=https://api.kraken.com
Proxy=
Pairs=

[BTC-USD]
Enabled=true
Size=20
Initial=1
Target=1.5
Target Base=0
Scale=2
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false

[BTCUSDT]
Enabled=true
Size=20
Initial=1
Target=1.5
Target Base=0
Scale=2
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false

[BTCUSD]
Enabled=true
Size=20
Initial=1
Target=1.5
Target Base=0
Scale=2
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false

[SPY]
Enabled=true
Size=500
Initial=1
Target=1.5
Target Base=0
Scale=1
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false
```

#### Example use cases

There are several ways to use the bot.

1. Buying continuously after each sell.
   * This works best if you want to take profit as crypto.
2. Buying slightly lower with a small initial percent (1% or so)
   * A little less risk as it has already dropped a small amount.
3. Buying crashes (15% or more) and high scale percentages (10% or more).
   * Does not happen as frequently but will generate the most amount of profit if several orders are filled. This works best after the coin has gone parabolic.

**Continuous**

```
[BTC-USD]
Enabled=true
Size=20
Initial=0
Target=1.5
Target Base=0
Scale=2
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false
```

**Small initial**

```
[BTC-USD]
Enabled=true
Size=20
Initial=1
Target=1.5
Target Base=0
Scale=2
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=false
Switched=false
Exit Only=false
```

**Crashes**

The `Flush` option allows the bot to replace the buy order every 5 minutes to lower it with the price of the coin.

```
[BTC-USD]
Enabled=true
Size=20
Initial=15
Target=1.5
Target Base=0
Scale=10
Scale Factor=1.05
Scale Multiplier=0
Fills=20
Profit=base
Volume=0
Target Type=avg
Percent Change=0
Max Price=0
Flush=true
Switched=false
Exit Only=false
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://crypto.phbot.org/configuration/examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
