How do I install TD Ameritrade API to computer?

2 vues (au cours des 30 derniers jours)
Steven Kroll
Steven Kroll le 2 Déc 2022
Commenté : Andy Doller le 10 Mar 2023
I don't understand the following code. I downloaded the functions to the Matlab path. I have an API key from TD ameritrade. Nothing works. I was able to set up an API in R for quandl. That seemed more straight-forward. Everything on Youtube is for Python, not Matlab. Thanks for any help.
## Installation
Download this repo and a dependency, and add them to your MATLAB path:
```bash
git clone https://github.com/sg-s/srinivas.gs_mtools/
When I run the following code, I get the following error:
T = TDAmeritrade;
T.set('APIKey','XXXNotForPublicXXX');
The specified superclass 'Unhashable' contains a parse error, cannot be found on MATLAB's search
path, or is shadowed by another file with the same name. .....
  3 commentaires
Steven Kroll
Steven Kroll le 13 Déc 2022
Thanks for the recommendation. I picked up a couple of books to better understand the software environment. I’ll also reach out to the contributors. Take care.
Andy Doller
Andy Doller le 10 Mar 2023
I think you did not add the mtools folder to your path.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 13 Déc 2022
I didn't look at the github but there should be a collection of files, possibly some might go into subfolders. It seems to be looking for a class file called Unhashable.m and that is nowhere to be found in the current folder or anywhere on the search path. Search your file system for it. Do you have it? If not, you need to get it. If you have it, you need to click the "Set Path" button on the Home tab of the tool ribbon and click Add with subfolders to add your projects files to the search path.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by