I only see in the example what API the websocket that gets the market, account and transaction information is running on.
The grassPython can also use the Dial function, or use a native websocket library
The grassThis is the case with the top-down tutorials