Skip to content

Instantly share code, notes, and snippets.

🤙

Sam Schantz samvschantz

🤙
Block or report user

Report or block samvschantz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View stocks
function stocks(priceArray){
var sellArray = []
var buyPriceArray = []
for (i = 0; i < priceArray.length - 1; i++){
buyPriceArray.push(priceArray[i])
}
var sellPriceArray = []
for (i = 1; i < priceArray.length; i++){
You can’t perform that action at this time.