openalgo-executor
Skill to interact with the OpenAlgo API for trading operations. Allows placing market/limit orders, retrieving current positions, and fetching symbol quotes. Supports connecting to OpenAlgo via a specified URL (defaulting to http://localhost:5000 or ngrok URL). Use when you need to perform trading actions or query market/position data via the OpenAlgo API. Supported commands: - Order placement: buy/sell market or limit orders. - Position retrieval: get current open positions. - Quote retrieval: get real-time price quotes for symbols. Example Usage: - Place a market buy order for 10 SOL: `openalgo-executor.run_command("order --symbol SOLUSD --action buy --quantity 10")` - Place a limit sell order for 5 BTC at $50000: `openalgo-executor.run_command("order --symbol BTCUSD --action sell --quantity 5 --type limit --price 50000")` - Get current positions: `openalgo-executor.run_command("positions")` - Get quote for ETHUSD: `openalgo-executor.run_command("quote --symbol ETHUSD")` - Use a specific OpenAlgo URL: `o
Installation and usage
Skill to interact with the OpenAlgo API for trading operations. Allows placing market/limit orders, retrieving current positions, and fetching symbol quotes. Supports connecting to OpenAlgo via a specified URL (defaulting to http://localhost:5000 or ngrok URL). Use when you need to perform trading actions or query market/position data via the OpenAlgo API. Supported commands: - Order placement: buy/sell market or limit orders. - Position retrieval: get current open positions. - Quote retrieval: get real-time price quotes for symbols. Example Usage: - Place a market buy order for 10 SOL: `openalgo-executor.run_command("order --symbol SOLUSD --action buy --quantity 10")` - Place a limit sell order for 5 BTC at $50000: `openalgo-executor.run_command("order --symbol BTCUSD --action sell --quantity 5 --type limit --price 50000")` - Get current positions: `openalgo-executor.run_command("positions")` - Get quote for ETHUSD: `openalgo-executor.run_command("quote --symbol ETHUSD")` - Use a specific OpenAlgo URL: `o
安裝後,您可以通過在終端運行以下命令來使用此技能:
skills use openalgo-executor