This is the cl-yahoo-finance Reference Manual, version 4.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:34:16 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-yahoo-finance
CL interface to Yahoo’s finance API
Paul Nathan
Paul Nathan
LLGPL
Common Lisp interface to Yahoo’s finance API, available over the web. See usage.lisp for example code.
4.0
drakma
(system).
babel
(system).
cl-csv
(system).
yason
(system).
url-rewrite
(system).
cl-yahoo-finance.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-yahoo-finance/cl-yahoo-finance.asd
cl-yahoo-finance
(system).
cl-yahoo-finance/cl-yahoo-finance.lisp
cl-yahoo-finance
(system).
*proxy*
(special variable).
read-current-company-info
(function).
read-current-data
(function).
read-current-data-from-csv
(function).
read-current-options
(function).
read-historical-data
(function).
read-historical-splits
(function).
with-proxy
(macro).
*columns*
(special variable).
*debug*
(special variable).
*float-columns*
(special variable).
*historical-modes*
(special variable).
+string-to-keyword-map+
(special variable).
concat-list
(function).
convert-from-column-strings
(function).
convert-stringy-table-to-keyword
(function).
current-data-cleanse
(function).
enquote-string
(function).
getassoc
(function).
parse-entry
(function).
parse-float
(function).
parse-hashtable
(function).
read-ratio-to-lisp
(function).
request-csv-historical-stock
(function).
request-yql-info
(function).
request-yql-options-info
(function).
request-yql-quant-info
(function).
request-yql-stock-info
(function).
safely-read-from-string
(function).
strcat
(function).
to-s
(function).
yason-quant-parse
(function).
yason-stock-options-parse
(function).
yason-stock-quotes-parse
(function).
Packages are listed by definition order.
cl-yahoo-finance
common-lisp
.
*proxy*
(special variable).
read-current-company-info
(function).
read-current-data
(function).
read-current-data-from-csv
(function).
read-current-options
(function).
read-historical-data
(function).
read-historical-splits
(function).
with-proxy
(macro).
*columns*
(special variable).
*debug*
(special variable).
*float-columns*
(special variable).
*historical-modes*
(special variable).
+string-to-keyword-map+
(special variable).
concat-list
(function).
convert-from-column-strings
(function).
convert-stringy-table-to-keyword
(function).
current-data-cleanse
(function).
enquote-string
(function).
getassoc
(function).
parse-entry
(function).
parse-float
(function).
parse-hashtable
(function).
read-ratio-to-lisp
(function).
request-csv-historical-stock
(function).
request-yql-info
(function).
request-yql-options-info
(function).
request-yql-quant-info
(function).
request-yql-stock-info
(function).
safely-read-from-string
(function).
strcat
(function).
to-s
(function).
yason-quant-parse
(function).
yason-stock-options-parse
(function).
yason-stock-quotes-parse
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
HTTP proxy: Takes nil, address as string, or list containing address as string and port as integer
Binds ‘proxy-value‘ to *proxy* for the duration of the macro
Reads the current company info and returns it as an a-list
Returns a list of hash tables
Pass in a list of symbols in strings; get a list of a-lists out. Useful if YQL bails on us
Takes one or more symbols and returns a list of option hash tables.
See yason-stock-options-parse for details on the data structure.
Start and end dates are 3-element lists mm/dd/yy Returns a list of hash tables. Keys are: Date Open High Low Close Volume Adj-Close
Start and end dates are 3-element lists mm/dd/yy Returns a list of hash tables. Keys are: Date Split
This a-list serves as keys for the Yahoo stock information for a given quote
Debugging parameter. Don’t set it unless you’re digging around
Keys into historical quotes
A-list mapping the strings returned by the YASON into keywords
Concatenates a list of strings
Returns a new hash table with keywords as the keys instead of strings
Surround ‘string‘ with double-quotes, suitable for passing to other systems.
Convert the STRING-VALUE to a more helpful type.
Returns (values NEW-VALUE converted-p). The second value will be true if a conversion took place.
Return a float read from string, and the index to the remainder of string.
Clean and destringify entries in the hash table.
Core reading function for reading historical data
Calls out to the YQL online API to get info on the list of stock symbols
Read an expression from the string STR, with *READ-EVAL* set to NIL. Any unsafe expressions will be replaced by NIL in the resulting S-Expression.
Converts ‘thing‘ to a string using FORMAT
Reads a JSON string assumed to be data from Yahoo.finance.quant and returns a hash-table of its data. "TwoMonthsAgo" is known to map to a HTML string sometimes.
Reads a string assumed to be Yahoo Finance options tables.
Returns a list of hash tables. Each hash table has keys "symbol"
and "option"
symbol points out to the symbol desired;
option points out a a hash table with the following keys
openInt, vol, ask, bid, changeDir, change, lastPrice, strikePrice, type, symbol
Reads a JSON string assumed to be Yahoo stock information and returns an a-list of its data
Jump to: | C E F G M P R S T W Y |
---|
Jump to: | C E F G M P R S T W Y |
---|
Jump to: | *
+
S |
---|
Jump to: | *
+
S |
---|
Jump to: | C F P S |
---|
Jump to: | C F P S |
---|