Ameritrade
TD Ameritrade Api
This module gives us oath access to the td ameritrade api located at "https://developer.tdameritrade.com/apis"
We have various modules to deal with request json responses and converting those to structs
I didnt feel we needed documentation for something as trivial
Modules are in the form ex. Ameritrade.Account, Ameritrade.Subscription, Ameritrade.Subscription.Key ... modules are located under /lib/schema
Installation
If available in Hex, the package can be installed
by adding ameritrade
to your list of dependencies in mix.exs
:
def deps do
[
{:ameritrade, "~> 1.1.1"}
]
end
Config
Add to your config.exs
config :ameritrade,
client_id: "client_id"
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ameritrade.