import wixUsersBackend from 'wix-users-backend'; import {fetch} from 'wix-fetch'; const CLIENT_ID = '1112811133259218974'; const CLIENT_SECRET = 'MorYUCBU0MLMKdAnkggpOxon-GaXSbLG'; const REDIRECT_URI = 'https://www.stockmarketchat.net/_api/wix-public/myapp/auth/callback'; // Handles the authentication callback export function myApp_auth_callback(request) { const code = request.query.code; const tokenEndpoint = `https://discord.com/api/oauth2/token`; const payload = { grant_type: 'authorization_code', code, redirect_uri: REDIRECT_URI }; const options = { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': `Basic ${Buffer.from(`${CLIENT_ID}:${CLIENT_SECRET}`).toString('base64')}` }, body: Object.keys(payload) .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(payload[key])) .join('&') }; return fetch(tokenEndpoint, options) .then(response => response.json()) .then(data => { const accessToken = data.access_token; // Use the access token to authenticate the user and handle the login logic here // e.g., create a session for the authenticated user // wixUsersBackend.createSession() }); }
top of page

Menu

WEEKLY GAME

Member
Stock
Long/Short
Page 1 of 1

Submissions

This form isn't currently accepting submissions. Submissions will be accepted for next week once markets close for the weekend.

Are you going long or short?

Thanks for submitting! Refresh the page to see the updated table.

Submission Form

Current Leaderboard

Submission Form
Leaderboard
hype

SILVER

Hype

Screenshot_20230530_224139.png

BRONZE

WaddleJrJr

Screenshot_20230530_224003.png

GOLD

Heading 2

21.40%

meatsack

21.40%

This Week's Podium

Last Week's Leaderboard

Achievements

Jackpot

Have a Weekly pick end up over 100% in profit.

Diamond Hands

Be top 3 in Weekly game with same stock that ended red the week before.

Weekly Pro

Win 5 Weekly games.

Calculated Gambling

Finish green on a Weekly pick after being red every single previous day.

Back To Back Wins

Win the Weekly game twice in a row.

Weekly Winner

Win 1 Weekly game.

In Full Control

Finish green in a Weekly pick after being red for the first 3 days.

Weekly Podium Pro

Finish in the Weekly podium 10 times.

Olympic Champion

Win the year long Weekly game medal leaderboard.

Weekly Master

Win 10 Weekly games.

Medal Table

Game Rules

23

Min

to your destination

Submissions open during weekends, from Friday's close to 1 hour before Monday's opening. Only your last submission counts. Copying submitted picks not allowed.

Last Week's Podium
Achievemets

You can pick 1 stock from US and European markets per week, no leveraged ETFs, no OTC stocks.

You can go Long or Short on a stock. Monday's opening price is taken for the results at the end of the week.

rules.png
Game Rules
bottom of page