ShareShortcuts

Stock Checker PRO V1

Updated version!

qwertyuio
Fork “Stock Checker PRO V1”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so qwertyuio gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
44K
Saved
0
Actions
21
Category
Utilities
Version
1.1
Language
EN

Updated version! https://shareshortcuts.com/shortcuts/1728-stock-checker-normal.html For instructions. HUGE BUG! Working on it👍 be right back, I need some coffee☕️ DONT USE THIS VERSION USE THE NEWLY UPDATED ONE!!!!

What's New

Version 1.1

Bug

Version History
1.1 Feb 1, 2022

Bug

1.0 Feb 1, 2022

First release

What it does

21 actions
  1. URL
    https://robinhood.com/stocks/TSCO
  2. Get Contents of URL
    …
  3. Split Text
  4. Get Item from List
  5. Copy to Clipboard
  6. Get Clipboard
  7. Choose from Menu
  8. Choose from Menu
    Price
  9. Show Result
  10. Stop This Shortcut
  11. Choose from Menu
    Keep or Sell?
  12. Calculate
  13. Set Variable
    Number
  14. Repeat
  15. Calculate
  16. Add to Variable
  17. Text
  18. If
  19. Show Notification
    Keep!
  20. If
  21. Show Alert

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#define color red
#define glyph faceSunglasses

url("https://robinhood.com/stocks/TSCO")
const ContentsOfURL = downloadURL()
const SplitText = splitText(ContentsOfURL)
const ItemFromList = getListItem(SplitText, 12)
setClipboard(ItemFromList)
getClipboard()

menu nil {
item "Price":
	show()
	stop()
item "Keep or Sell?":
}
@Number = 1 + -1

repeat _ for 150 {
	@Number += nil + 1
}
const Text = "{ItemFromList}"

if Text !contains @Number {
	showNotification("Keep!", Text)
} else {
	confirm("Sell immediately!!!!")
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by qwertyuio

See All

You Might Also Like

See All
Advertisement