Ameritrade API with Google Scripts repository of code
Reorganized the File structure to folders
- Tutorial Files: Contains the files+code to match the Youtube Tutorials. Will NOT be maintained.
- Ameritrade Library : Contains the latest library - will be maintained.
- Ameritrade API Tester: Contains a sheet+code to test the API calls.
To recreate the files in your Google Drive (e.g. for the Tutorial Files):
- Download the folders/files to your local directory
- In Google Drive, File upload, choose Tutorial Files/Ameritrade API w Google Scripts/Ameritrade API w Google Scripts.ods to create the basic sheet but it will not have any code.
- In the sheet, Tools | Script Editor
- Create each file (e.g. Code.gs), click +, Scrpt or HTML, then use the exact same filename (Code.gs).
- Open the Code.gs on your PC, copy the text, and paste (replace all) into the Code.gs Script.
- Do the same for Ameritrade.gs, and amtd_SidePane.html.
- Test and see if the scripts work.