Binance Trading Bot with DCA Logic need Web Development
Contact person: Binance Trading Bot with DCA Logic
Phone:Show
Email:Show
Location: Basel, Switzerland
Budget: Recommended by industry experts
Time to start: As soon as possible
Project description:
"A Binance Spot trading bot using DCA logic with:
Centralized, durable logging of everything (orders, errors, API responses, trade events).
A smart Resume System that recovers state after restarts without re-sending orders or losing track of deals.
A lightweight web UI to configure pairs, monitor balances and status/PNL, and view a price chart.
UI Pages
Settings
Add/enable a trading pair (e.g., BTCUSDT).
Per-pair fields:
Amount per buy (in USDT).
Take-profit % for sell orders.
Rebuy drop % from the last buy price.
Total deals allowed for the pair.
Max active deals (e.g., 5): hard cap on concurrently active buy/sell orders; extra deals are added gradually.
Toggle to enable/disable each pair.
Wallet
Shows non-zero balances.
Estimates value in USDT when price is available.
Status / PNL
Live snapshots: open deals, pending sell orders, realized PnL per fill.
Chart
Basic candlesticks for the selected pair.
Trading Logic (DCA)
When the bot runs and a pair is enabled:
If no active sell order exists for that pair:
Place an immediate market buy with the configured amount.
Place a take-profit limit sell at your target percentage (e.g., +1%).
Each time price drops by Rebuy % from the last buy price:
Place a new buy (with exchange-compliant quantity).
Place a dedicated sell for that tranche at the take-profit target.
After a sell fills:
Record realized PnL for that tranche precisely.
Restart the cycle: if no sell orders remain, place a fresh market buy and continue.
Max active deals prevents opening more than N concurrent buy/sell orders; additional deals are queued and created gradually (closest next 5 first).
Resume System
On restart or connectivity loss:
Fetch open orders and balances from Binance.
Reconcile exchange state with the persisted local state (linking existing orders/tranches).
Never re-submit an order that was already sent.
If inventory exists without a corresponding sell order, create the missing take-profit order at the correct target.
If price rallied and inventory exists, proceed to sell per strategy, then resume the cycle.
If no sell orders remain, start a new market buy and continue.
Logging
Durable central log (JSON lines) for:
Order attempts, API responses, network/library errors, strategy decisions, and execution events.
Enables thorough auditability, incident debugging, and accurate per-order PnL.
Binance Compliance & Safety
Respect minNotional, stepSize, tickSize from exchangeInfo.
Round quantities/prices to exchange filters.
Adhere to rate limits; use Testnet for safe dry-runs.
Key Config Fields
amount_per_buy: USDT amount per buy.
take_profit_pct: target profit per tranche (e.g., 1%)
rebuy_drop_pct: drop from the last buy price to open a new DCA tranche.
max_deals: total allowed tranches for the pair.
max_active_deals: cap on concurrently active deals/orders (e.g., 5).
Usual disclaimer: crypto trading carries significant risk. Start on Testnet and size carefully." (client-provided description)
Matched companies (3)

El Codamics

Codetreasure Co
