I've written actually exactly that for E-Trade. Python full implementation of their API, and used it for myself - mostly for automating options...
Separate names with a comma.