Visualization for your Coinbase Advanced Trade Orders.
Turn your boring order book into a high-stakes space mission. This tool allows you to view your Coinbase buy and sell orders as an immersive visual experience. Moon Lander visually renders your active Limit and Stop orders as rockets flying through space, providing an intuitive and exciting way to track your crypto positions in real-time.
- Live Telemetry: Real-time price updates fetched directly from Coinbase.
- Visual Missions: Every active order is a unique ship in the fleet.
- Flight Deck: A specialized HUD (Heads-Up Display) with animated starfields and retro sci-fi aesthetics.
- STAGING (Buy Orders): Limit Buy orders are visualized as rockets on the launchpad, waiting for the price to drop to your entry target ("Liftoff").
- IN FLIGHT (Sell Orders): Active positions (Limit Sells or Brackets) are rockets soaring through space.
- Forward Thrust: Ships fly towards the right (Take Profit) when the price is moving in your favor.
- Retreat: Ships flip and retreat left (towards Stop Loss) if the market turns against you.
- Mission Health: A calculated 0-100% score based on the current price relative to your Stop Loss and Take Profit.
- Color-Coded Status:
- STABLE: Cruising altitude (Blue/Cyan).
- UNSTABLE: Turbulence detected (Orange).
- CRITICAL: Dangerously close to Stop Loss (Red/Flashing).
- Python 3.9+
- A Coinbase Advanced Trade account.
- API Keys with
viewerpermissions (ortradeif you plan to expand functionality).
git clone https://github.com/yourusername/Coinbase-Moon-Lander.git
cd Coinbase-Moon-Lander
pip install -r requirements.txtCreate a .env file in the root directory:
CB_API_KEY="your_api_key_here"
CB_API_SECRET="your_api_secret_here"If deploying to Streamlit Cloud, add your keys to the "Secrets" management console:
CB_API_KEY = "your_api_key_here"
CB_API_SECRET = "your_api_secret_here"streamlit run coinbase-moon-lander.py- Launch the App: Open the local URL provided by Streamlit (usually
http://localhost:8501). - View Your Fleet: The dashboard will automatically scan for
OPENorders on your Coinbase account. - Monitor Progress: Watch as your ships adjust their position and status based on real-time market data.
Note: This tool is a visualizer. Always verify trade details on the official Coinbase platform.
