Build Status | Docs |
---|---|
julia> using TDAmeritrade
julia> TD_auth()
[ Info: REFRESH_TOKEN found, refreshing ACCESS_TOKEN
[ Info: Authentication completed.
julia> get_quotes(["AAPL", "FB"])[:AAPL][:lastPrice]
445.49
julia> using Dates
julia> price_history("GE", Minute(1), Day(1))[end]
JSON3.Object{Array{UInt8,1},SubArray{UInt64,1,Array{UInt64,1},Tuple{UnitRange{Int64}},true}} with 6 entries:
:open => 6.4
:high => 6.4
:low => 6.39
:close => 6.39
:volume => 2800
:datetime => 1596844740000
The files in src
is ~ 1-to-1 with end points listed on TD's website, currently some of these are missing:
- Accounts and Trading
- Authentication
- Instruments
- Market Hours, cr. @Cryptum169
- Movers
- Option Chains
- Price History
- Quotes
- Transaction History
-
User Info and Preferencesprobably not useful -
Watchlistprobably not useful