ShareShortcuts

Stock Checker V2.0 UPDATED 1

qwertyuio
Fazer fork de “Stock Checker V2.0 UPDATED 1”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que qwertyuio receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
45K
Salvo
3
Ações
40
Categoria
Utilities
Versão
7.0
Idioma
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…)

Novidades

Versão 7.0

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

Histórico de versões
7.0 3 de out de 2022

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

6.0 18 de jul de 2022

Bug where the price was always $4

5.1 4 de abr de 2022

Calculate stuff done

5.0 4 de abr de 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 de fev de 2022

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

3.0 2 de fev de 2022

New way to check if the price is too low

2.0 1 de fev de 2022

Do not repost please

1.0 1 de fev de 2022

First release

O que ele faz

40 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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()
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de qwertyuio

Ver tudo

Você também pode gostar

Ver tudo
Publicidade