Login About Gallery
Get Stock Price
LIST
AAPL
AMZN
BRK.B
GME
GOOG
GOOGL
✍️
SCRIPTING
Choose from
List
Prompt
optional
Select Multiple
SCRIPTING
If
Chosen Item
is
✍️
SCRIPTING
Ask
Enter the stock symbol
Input Type
Text
Default Answer
AAPL
End If
DOCUMENTS
Replace
.
with
-
in
If Result
Case Sensitive
Regular Expression
VARIABLES
Set variable
stock
to
Updated Text
URL
https://finance.yahoo.com/quote/
stock
NETWORK
Get contents of
URL
Options Under Construction
DOCUMENTS
Make rich text from
URL 콘텐츠
DOCUMENTS
TEXT
Match
(?<=USD ).*(?= As|At)
in
텍스트
Case Sensitive
TEXT
Split
Matches
by
Spaces
VARIABLES
Set variable
data
to
텍스트 분리
COMMENT
The section below sets the stock price.
SCRIPTING
Get
First Item
from
data
VARIABLES
Set variable
price
to
Item from List
COMMENT
The section below sets the P/L.
SCRIPTING
Get
Item At Index
2
from
data
DOCUMENTS
Replace
[+|-]
with
World
in
Item from List
Case Sensitive
Regular Expression
VARIABLES
Set variable
pl_number
to
Updated Text
COMMENT
The section below sets the P/L percentage.
SCRIPTING
Get
Last Item
from
data
DOCUMENTS
Replace
[+|-|\)|\(]
with
World
in
Item from List
Case Sensitive
Regular Expression
VARIABLES
Set variable
percentage
to
Updated Text
COMMENT
The section below selects the sentence to be shown according to the P/L of the stock.
SCRIPTING
If
Item from List
begins with
+
TEXT
price
is currently at $
percentage
, up by
pl_number
for a gain of $
stock
🚀
Otherwise
TEXT
percentage
is currently at $
price
, down by
pl_number
for a loss of $
stock
💥
End If
COMMENT
Flourish!
SCRIPTING

Showcuts

Magic Vars

Screenshot

Submitted by kingsave3166 3 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0