How rafapolo/renda works
Project type and purpose
• From the README and file tree, Renda is a command‐line, compiled Crystal application (distributed as a binary) that connects to cryptocurrency exchanges (Bittrex, Cryptopia, etc.) to fetch market data, detect arbitrage or pump opportunities, and optionally place orders or simulate them.
• It is not a web or front-end project but a data-processing / trading‐bot CLI tool with a modular domain-driven architecture.
File structure
• Top level
• shard.yml / shard.lock – Crystal’s dependency and build configuration
• README.md, deploy.sh – documentation and deploy script
• luno.cr, renda.cr – likely entry points: renda.cr as the main program, luno.cr as a broker plugin
• app/
• config.cr – configuration loading
• broker.cr – generic broker interface
• market.cr, tick.cr, summary.cr – data models and aggregators for market/tick data
• wallet.cr, order.cr – domain models for managing wallets and orders
• strategy.cr, arbitrage.cr – trading logic modules
• helper.cr – utility functions
• doc/
• Markdown docs and sample screenshots
• extra/ – logs, experimental code, ancillary files
README for additional insights
• Describes core commands and CLI flags (--simulate, --arbitrage, --pump detectors, etc.)
• Emphasizes sub‐millisecond execution and compiled performance