URLSchemes
URLSchemes
Stocks Live has lots of automation goodies to make everyone happy. You can check company info with one tap on a link like this (stockslive:///show?symbol=aapl), or you can check StockTwits50 if you tap on this link (stockslive:///show?activities=id35_1). Here is summary:-
1. Show company Info
syntax: stockslive:///show?symbol=[symbol]
param1 (symbol): Yahoo compatible ticker e.g. aapl or invn etc...
2. Show activities
syntax: stockslive:///show?activity=[activityID]
param1 (activityID): e.g. please check table1
3. Show earnings calendar for a certain day (version 1.8 and later)
syntax: stockslive:///show?earnings=[date]
param1 (date): e.g. “today” or “yyyymmdd”
4. Create new watch list
syntax: stockslive:///makewatchlist?name=[name]&symbols=[symbols]
param1 (name): name a string representing the watch list
param2 (symbols): tickers separated by “,”
5. Create new portfolio
syntax: stockslive:///makeportfolio?
name=[name]&positions=[positions]&cash=[cash]&marginCash=[marginCash]&inceptionCash=[inceptionCash]&benchmark=[benchmark]¤cy=[currency]&addToTotal=[addToTotal]&retirement=[retirement]&alertStatus=[alertStatus]&alertValue=[alertValue]
param1 (name): name a string representing the portfolio
param2 (positions): positions in the Stocks Live syntax quantity@ticker@price@date where price is in the currency of the ticker and data is YYYYMMDD or “today” or “yesterday”
param3 (cash): is the latest cash this portfolio has
param4 (marginCash): in case of margin account
param5 (inceptionCash): cash since inception of the portfolio
param6 (benchmark): symbol to compare this portfolio against
param7 (currency): currency of the cash and margin cash
param8 (addToTotal): if 1 it will add this portfolio to the “All Portfolio”
param9 (retirement):1 or 0, to represent retirement account
param10 (alertStatus): 1 or 0, to turn on or off portfolio alert icon
param11 (alertValue): value of the alert.
TABLE 1