evdubs / nasdaq-symbols Goto Github PK
View Code? Open in Web Editor NEWETL for the NASDAQ symbol file
License: Mozilla Public License 2.0
ETL for the NASDAQ symbol file
License: Mozilla Public License 2.0
Got error when runing sh extract-transform-load.sh
, I was wondering if anything else I missed?
$ sh extract-transform-load.sh
query-exec: schema "nasdaq" does not exist
SQLSTATE: 3F000
context...:
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/db/private/generic/interfaces.rkt:170:0: raise-sql-error
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/share/pkgs/db-lib/db/private/postgresql/connection.rkt:535:4: prepare1:collect method in connection-base%
/opt/racket/pltbuild/racket/racket/collects/racket/private/more-scheme.rkt:261:28
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/db/private/generic/common.rkt:277:13
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/db/private/generic/../../../racket/private/more-scheme.rkt:261:28
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/db/private/generic/functions.rkt:90:0: compose-statement
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/db/private/generic/functions.rkt:148:0: query-exec
/Users/tli/Downloads/nasdaq-symbols/transform-load.rkt:63:11
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/racket/private/sequence.rkt:33:2: for-loop
/Users/pltbuild/build/plt-release-cs-64/bundle/racket/collects/racket/private/sequence.rkt:30:0: sequence-for-each
dynamic-wind
proc
body of "/Users/tli/Downloads/nasdaq-symbols/transform-load.rkt"
temp37_0
for-loop
run-module-instance!125
Hi evdubs,
Im having an issue running transform-load.rkt, im trying to use it with QuestDB and have changed the relevant database credentials. extract.rkt works correctly and i have nasdaqtraded.2020-07-03.txt in /var/tmp/nasdaq, however when i run transform-load.rkt i get:
parse-command-line: expected argument of type <table as a list of flag-list/procedure pairs (no pre-defined flags: "-h")>; given: '((once-each (("-d" "--file-date") #<procedure:...cket/cmdline.rkt:141:76> (("Nasdaq file date. Defaults to today") "date-str")) (("-n" "--db-name") #<procedure:...cket/cmdline.rkt:141:76> (("Database name. Defaults to 'qdb'") "name")) (("-p" "--db-pass...
context...:
/usr/share/racket/collects/racket/cmdline.rkt:266:10: for-loop
/usr/share/racket/collects/racket/cmdline.rkt:257:4: for-loop
/usr/share/racket/collects/racket/cmdline.rkt:251:2: for-loop
/usr/share/racket/collects/racket/cmdline.rkt:229:0: parse-command-line10
/home/user/options_data/nasdaq-symbols/transform-load.rkt: [running body]
have also tried to run the .sh script.. but get the same result.
any help would be appreciated. thankyou
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.