ShareShortcuts

Stock Checker V2.0 UPDATED 1

qwertyuio
„Stock Checker V2.0 UPDATED 1“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit qwertyuio die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
45K
Gesichert
3
Aktionen
40
Kategorie
Utilities
Version
7.0
Sprache
EN

Hi! I spent a lot of time making this(5 months) please support me by liking and downloading! Thank you! To setup, go into the shortcut, edit the url from robinhood and change TSCO to whatever your stock is. IK it is kinda simple, but it is my first big project, I will try to update it soon. NOTE: DONT USE THIS AS A FINANCIAL ADVISOR, THIS IS VERY MUCH IN BETA (the keep/sell is extremely simple and is not to be trusted at least right now…)

Neue Funktionen

Version 7.0

Bruh they keep changing the site, so I have to keep updating

Versionsverlauf
7.0 3. Okt 2022

Bruh they keep changing the site, so I have to keep updating

6.0 18. Jul 2022

Bug where the price was always $4

5.1 4. Apr 2022

Calculate stuff done

5.0 4. Apr 2022

Hello! I’m back. New calculation for each unique stock price to tell when to sell if it is too low

4.5 8. Feb 2022

The stock price check changes from ascii to integers now. The keep/sell works now too.

3.0 2. Feb 2022

New way to check if the price is too low

2.0 1. Feb 2022

Do not repost please

1.0 1. Feb 2022

First release

Was er macht

40 Aktionen
  1. URL
    https://robinhood.com/stocks/QS
  2. Comment
    Get the name of the stock and set variable to it for later use.
  3. Split Text
  4. Get Item from List
  5. Set Variable
    Stonk
  6. Comment
    A complicated way to get all of the words, split them, get the line with the price then split by $ to get number.
  7. Get Contents of URL
    …
  8. Split Text
  9. Get Item from List
  10. Copy to Clipboard
  11. Get Clipboard
  12. Show Result
  13. Stop This Shortcut
  14. Text
  15. Split Text
  16. Get Item from List
  17. Set Variable
    Money
  18. Comment
    Change from unicode to number so not confused later. set as variable. the price that the stock is at gets confused as unicode so it makes errors when calculating stuff later so we put it in the calculator so it is a number now. we can work with numb…
  19. Number
  20. Set Variable
    Int
  21. Comment
    calculate when to sell, need to fix
  22. Ask for Input
    The starting price that you bought the stock at (NO DOLLAR SIGN)
  23. Set Variable
    Starting price
  24. Calculate
  25. Calculate
  26. If
  27. Show Notification
    Sell!
  28. Text
  29. Set Variable
    Buy or sell
  30. If
  31. Show Notification
    Keep!
  32. Text
  33. Set Variable
    Buy or sell
  34. Get Device Details
  35. Get Device Details
  36. Get IP Address
  37. Text
  38. URL
    data:text/html,…
  39. Open URLs
  40. Stop This Shortcut

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

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

const URL = url("https://robinhood.com/stocks/QS")
// Get the name of the stock and set variable to it for later use.

const SplitText = splitText(URL, "/")
getFirstItem(SplitText)
@Stonk
// A complicated way to get all of the words, split them, get the line with the price then split by $ to get number.

const ContentsOfURL = downloadURL(URL)
const SplitText1 = splitText(ContentsOfURL)
const ItemFromList = getListItem(SplitText1, 50)
setClipboard(ItemFromList)
getClipboard()
show()
stop()
const Text = "{ItemFromList}"
const SplitText2 = splitText(Text, "$")
getFirstItem(SplitText2)
@Money
/*
Change from unicode to number so not confused later. set as variable.
the price that the stock is at gets confused as unicode so it makes errors when calculating stuff later so we put it in the calculator so it is a number now. we can work with numbers.
*/
number(@Money)
@Int
// calculate when to sell, need to fix

prompt("The starting price that you bought the stock at (NO DOLLAR SIGN)")
@StartingPrice
const CalculationResult = @StartingPrice / 3
const CalculationResult1 = @StartingPrice - CalculationResult

if @Int < CalculationResult1 {
	showNotification("Sell!", @Int)
	@BuyOrSell = "Sell!"
} else {
	showNotification("Keep!", Text)
	@BuyOrSell = "Keep!"
}
getDeviceDetail("System Version")
getDeviceDetail("Device Model")
getExternalIP()
const URL1 = url("data:text/html,{}")
openURL(URL1)
stop()
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Werbung

Mehr von qwertyuio

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung