Quick Start
# 1. Clone the repo
$git clone https://github.com/shing1211/futuapi4go-demo.git
$cd futuapi4go-demo
# 2. Point to your OpenD instance
$$env:FUTU_ADDR = "127.0.0.1:11111" # Windows PowerShell
# or: export FUTU_ADDR=127.0.0.1:11111 # Linux/macOS
# 3. Run any example
$go run ./examples/01_quote
# Output: HK.00700 -> 380.20 / 380.40 | high=385.00 low=376.50
$git clone https://github.com/shing1211/futuapi4go-demo.git
$cd futuapi4go-demo
# 2. Point to your OpenD instance
$$env:FUTU_ADDR = "127.0.0.1:11111" # Windows PowerShell
# or: export FUTU_ADDR=127.0.0.1:11111 # Linux/macOS
# 3. Run any example
$go run ./examples/01_quote
# Output: HK.00700 -> 380.20 / 380.40 | high=385.00 low=376.50
Documentation
TROUBLESHOOTING.md
Common errors, simulate-mode limitations, and known SDK caveats
TROUBLESHOOTING.md →ARCHITECTURE.md
Design overview, connection management, HA failover, and WebSocket transport
ARCHITECTURE.md →