Alpaca Error - phBot Crypto

I am getting an error in the bot logs, which would be this:

[2024-05-14 14:43:08] [Alpaca] Size 0 does not meet minimum order requirements for SPY

I was reviewing all the configuration and I see it exactly as it is in the example, I attach the current configuration that I have:

[phBot]
Agree=true
Username=
Password=
Delay=5
[Coinbase]
Enabled=false
Key=
Secret=
URL=https://api.coinbase.com
Proxy=
Pairs=
[Binance]
Enabled=true
Key=
Secret=
URL=https://api.binance.com
Proxy=
Pairs=DOGEUSDT
[Alpaca]
Enabled=true
Key=
Secret=
URL=https://paper-api.alpaca.markets
Proxy=
Pairs=SPY
[Gemini]
Enabled=false
Key=
Secret=
URL=https://api.gemini.com
Proxy=
Pairs=
[Kraken]
Enabled=false
Key=
Secret=
URL=https://api.kraken.com
Proxy=
Pairs=
[DOGEUSDT]
Enabled=true
Initial=1
Size=15
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=true
Exit Only=false
[SPY]
Enabled=true
Initial=1
Size=500
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
[Alpaca Crypto]
Pairs=

Your size needs to be higher than the current price of SPY. Current price of SPY is about $521 so you should set it to $550.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.