Skip to content

Commit

Permalink
remove extra display comment
Browse files Browse the repository at this point in the history
  • Loading branch information
briangu committed Sep 24, 2023
1 parent 97d9de5 commit aeb4fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/polygon/update_data.kg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mkd::{[d];d:::{};d,"symbol",,x;d,"timespan",,y;d,"from",,z;d,"to",,"2023-09-09";
readtbl::{[dfs sym tbl];dfs::x;sym::y;tbl::dfs(:read,sym);:[:_tbl;newt();tbl]}
extract::{[d];d::x;{d?x}'cols}
updtbl::{[tbl];tbl::x;{.insert(tbl;extract(x))}'y}
update::{[dfs sym ts path tbl d];dfs::x;sym::y;ts::z;path::ts,"/",sym;tbl::readtbl(dfs;path);d::paginate(aggsurl(mkd(sym;ts;latest(tbl))));.d("retrieved: ");updtbl(tbl;d);:[(#d)>0;dfs(:write,path,tbl);"skipping"]}
update::{[dfs sym ts path tbl d];dfs::x;sym::y;ts::z;path::ts,"/",sym;tbl::readtbl(dfs;path);d::paginate(aggsurl(mkd(sym;ts;latest(tbl))));updtbl(tbl;d);:[(#d)>0;dfs(:write,path,tbl);"skipping"]}

:" Get the list of tickers from polygon "
rc::RESTClient()
Expand Down

0 comments on commit aeb4fe1

Please sign in to comment.