ShareShortcuts

Stock Checker V2.0 UPDATED 1

qwertyuio
Fork “Stock Checker V2.0 UPDATED 1”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så qwertyuio får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
45K
Gemt
3
Handlinger
40
Kategori
Værktøjer
Version
7.0
Sprog
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…)

Nyheder

Version 7.0

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

Versionshistorik
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

Hvad den gør

40 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra qwertyuio

Se alle

Du vil måske også kunne lide

Se alle
Annonce