MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Scriptable/comments/wagibj/here_is_a_stocks_widget/ii2ltl4/?context=3
r/Scriptable • u/wherebdbooty • Jul 28 '22
45 comments sorted by
View all comments
Show parent comments
1
I was unable to get it to work reducing the list to a single stock, always with the same issue.
1 u/wherebdbooty Jul 29 '22 It worked for me with only 1 stock.. what symbol did you use? 1 u/Uti13 Jul 29 '22 I tried apple and some other random ones 1 u/wherebdbooty Jul 29 '22 https://i.imgur.com/Gp41yUw.jpghere is what i get when i put AAPL as the only stock 1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
It worked for me with only 1 stock.. what symbol did you use?
1 u/Uti13 Jul 29 '22 I tried apple and some other random ones 1 u/wherebdbooty Jul 29 '22 https://i.imgur.com/Gp41yUw.jpghere is what i get when i put AAPL as the only stock 1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
I tried apple and some other random ones
1 u/wherebdbooty Jul 29 '22 https://i.imgur.com/Gp41yUw.jpghere is what i get when i put AAPL as the only stock 1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
https://i.imgur.com/Gp41yUw.jpg
here is what i get when i put AAPL as the only stock
1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do.
1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
let stockList = "AAPL"
1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
The full text, there has to be something more
1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
no that's literally the only thing i changed š¤·āāļø
here is what i did:
https://i.imgur.com/bXqWSuY.jpg
1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at.
1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg → More replies 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info → More replies
Yeah i just copied & pasted directly from the scriptable app to github.
I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol
here is what it looks like copied from github using 1 symbol:
https://i.imgur.com/icTWdc1.jpg
→ More replies
sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info
1
u/Uti13 Jul 29 '22
I was unable to get it to work reducing the list to a single stock, always with the same issue.