This repository has been archived by the owner on May 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
# TDAmeritrade | ||
|
||
| **Build Status** | | ||
|:-----------------------------------------------------------------------------------------------------------------------------:| | ||
| [![Build Status](https://travis-ci.org/Moelf/TDAmeritrade.jl.svg?branch=master)](https://travis-ci.org/Moelf/TDAmeritrade.jl) | | ||
| **Build Status** | **Docs** | | ||
|:---------------------------:|---------------------------| | ||
| [![][build-img]][build-url] | [![][docs-img]][docs-url] | | ||
|
||
## Quick example | ||
```julia | ||
julia> using TDAmeritrade | ||
|
||
**Documentation**: [![][docs-latest-img]][docs-latest-url] | ||
julia> TD_auth() | ||
[ Info: REFRESH_TOKEN found, refreshing ACCESS_TOKEN | ||
[ Info: Authentication completed. | ||
|
||
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg | ||
[docs-latest-url]: https://moelf.github.io/TDAmeritrade.jl/dev/ | ||
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 | ||
``` | ||
[build-img]: https://travis-ci.com/Moelf/TDAmeritrade.jl.svg?branch=master | ||
[build-url]: https://travis-ci.com/Moelf/TDAmeritrade.jl | ||
[docs-img]: https://img.shields.io/badge/docs-latest-blue.svg | ||
[docs-url]: https://moelf.github.io/TDAmeritrade.jl/dev/ |
a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error while trying to register: "Tag with name
v0.1.0
already exists and points to a different commit"a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error while trying to register: "Tag with name
v0.1.0
already exists and points to a different commit"a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
a87f0d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/19215
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: