Skip to content

Commit 2db8553

Browse files
committed
Move bot example to examples/bots/ and add .env.example
- Move buy_low_sell_high_bot.py into examples/bots/ - Add .env.example with all config vars documented (no real creds)
1 parent c848a58 commit 2db8553

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

examples/bots/.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Decibel Bot Configuration
2+
# Copy this file to .env and fill in your values:
3+
# cp .env.example .env
4+
5+
# Required: Aptos account private key (hex, with 0x prefix)
6+
PRIVATE_KEY="0x..."
7+
8+
# Required: API key from Geomi (https://geomi.dev)
9+
APTOS_NODE_API_KEY="aptoslabs_..."
10+
11+
# Network: testnet, mainnet, or netna
12+
NETWORK="testnet"
13+
14+
# Market to trade (must match a market name on the exchange)
15+
MARKET="ETH/USD"
16+
17+
# Buy spread: place buy order this % below oracle price
18+
BUY_SPREAD_PCT="1.0"
19+
20+
# Sell spread: place sell order this % above entry price
21+
SELL_SPREAD_PCT="1.0"
22+
23+
# Notional order size in USD
24+
ORDER_SIZE_USD="100"

0 commit comments

Comments
 (0)