Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api key #34

Closed
maartenvd opened this issue Feb 9, 2021 · 2 comments · Fixed by #35
Closed

api key #34

maartenvd opened this issue Feb 9, 2021 · 2 comments · Fixed by #35
Assignees

Comments

@maartenvd
Copy link

julia> ENV["ALPHA_VANTAGE_API_KEY"] = "very secret";
julia> using AlphaVantage
julia> AlphaVantage.GLOBAL[]
AVClient("", "https://www.alphavantage.co/")

I have also tried exporting first. Workaround at the moment is to clone the package and edit locally, but I'd like to do it properly.


Julia Version 1.6.0-rc1
Commit a58bdd9010 (2021-02-06 15:49 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 2
@dm13450
Copy link
Collaborator

dm13450 commented Feb 9, 2021

Does this solve your problems?

using AlphaVantage
AlphaVantage.global_key!("very secret")

Or am I missing something with your issue?

Actually I can see why now, the README.md needs updating.

@dm13450 dm13450 self-assigned this Feb 9, 2021
@maartenvd
Copy link
Author

ah perfect, that works :) yes I was trying to follow the readme and couldn't get that to work, but this solves it!

dm13450 added a commit that referenced this issue Feb 9, 2021
@dm13450 dm13450 linked a pull request Feb 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants