v0.1.3
What's New
Orderbook Command
fintool orderbook <SYMBOL>— spot L2 orderbook with spread/mid-pricefintool perp orderbook <SYMBOL>— perp L2 orderbook- Supports Hyperliquid, Binance, and Coinbase
- JSON mode:
{"command":"orderbook","symbol":"HYPE"}
Polymarket Withdraw & Balance
fintool withdraw USDC --amount N --to base --exchange polymarket— withdraw via bridge API (Base, Ethereum, Arbitrum)fintool balance --exchange polymarket— query USDC balance via CLOB API- JSON dispatch now passes
exchangeparameter for withdraw command
Example Bots
funding_arb/bot.py— uses fintool for all data (no direct HL API calls), incorporates orderbook spread/depth analysis- Both example bots require API keys as in-file constants
Docs & Tests
- Orderbook command documented in README.md and skills/SKILL.md
tests/polymarket/withdraw.sh— withdraw test scripttests/polymarket/predict_btc.sh— full e2e cycle now includes withdraw step
What's Changed
- ci: improve smoke tests with OpenAI and broader coverage by @juntao in #3
- test: add end-to-end trading integration script by @juntao in #4
- feat: uniform CLI args and --json input mode by @juntao in #5
- feat: add predict command for Polymarket prediction market trading by @juntao in #6
- feat: add orderbook command, Polymarket withdraw/balance by @juntao in #7
Full Changelog: v0.1.2...v0.1.3