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

errors with historical tables #2

Open
alphaBenj opened this issue Sep 21, 2018 · 0 comments
Open

errors with historical tables #2

alphaBenj opened this issue Sep 21, 2018 · 0 comments

Comments

@alphaBenj
Copy link

alphaBenj commented Sep 21, 2018

Seems like> "one day" 1d and minutely does not work. while 1m does work.
There seem to be a problem github and "`" marks, but they included!
Can you please check? Thanks

q)get_minutely_summary[aapl;20180817]
'illegal char , at 1
[1] /Users/ab6/Documents/BMCap/RoughCut/files/data_iex_qraw.q:98: get_minutely_summary:
/ Parse json response and put into table
data:.j.k "[",get_data[main_url;suffix;prefix;-2;"minute"];
^

q))get_historical_summary[aapl;1d]
'illegal char , at 1
[4] /Users/ab6/Documents/BMCap/RoughCut/files/data_iex_qraw.q:80: get_historical_summary:
/ Parse json response and put into table
data:.j.k "[", get_data[main_url;suffix;prefix;-2;txt];
^

q)))get_historical_summary[aapl;1m]
sym date open high low close volume unadjustedVolume c..
-----------------------------------------------------------------------------..
AAPL 2018.08.20 218.1 219.18 215.11 215.46 3.02877e+07 3.02877e+07 -..
AAPL 2018.08.21 216.8 217.19 214.025 215.04 2.615976e+07 2.615976e+07 -..
AAPL 2018.08.22 214.1 216.36 213.84 215.05 1.901813e+07 1.901813e+07 0..
AAPL 2018.08.23 214.65 217.05 214.6 215.49 1.888322e+07 1.888322e+07 0..
AAPL 2018.08.24 216.6 216.9 215.11 216.16 1.847636e+07 1.847636e+07 0..
AAPL 2018.08.27 217.15 218.74 216.33 217.94 2.052512e+07 2.052512e+07 1..
AAPL 2018.08.28 219.01 220.54 218.92 219.7 2.277677e+07 2.277677e+07 1..
AAPL 2018.08.29 220.15 223.49 219.41 222.98 2.72548e+07 2.72548e+07 3..
AAPL 2018.08.30 223.25 228.26 222.4 225.03 4.879382e+07 4.879382e+07 2..
AAPL 2018.08.31 226.51 228.87 226 227.63 4.334013e+07 4.334013e+07 2..
AAPL 2018.09.04 228.41 229.18 226.63 228.36 2.739013e+07 2.739013e+07 0..
AAPL 2018.09.05 228.99 229.67 225.1 226.87 3.333296e+07 3.333296e+07 -..
AAPL 2018.09.06 226.23 227.35 221.3 223.1 3.428998e+07 3.428998e+07 -..
AAPL 2018.09.07 221.85 225.37 220.71 221.3 3.761981e+07 3.761981e+07 -..
AAPL 2018.09.10 220.95 221.85 216.47 218.33 3.951645e+07 3.951645e+07 -..
AAPL 2018.09.11 218.01 224.299 216.56 223.85 3.574905e+07 3.574905e+07 5..
AAPL 2018.09.12 224.94 225 219.84 221.07 4.927874e+07 4.927874e+07 -..
AAPL 2018.09.13 223.52 228.35 222.57 226.41 4.170638e+07 4.170638e+07 5..
AAPL 2018.09.14 225.75 226.84 222.522 223.84 3.199929e+07 3.199929e+07 -..
AAPL 2018.09.17 222.15 222.95 217.27 217.88

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

No branches or pull requests

1 participant