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

MONTHLY GAME

Menu

Leaderboard

Current Leaderboard

April's Leaderboard

All time wins

Top 3 players with the most wins ever, since the competition began.

Screenshot_20220719-232454_Chrome.jpg

SeñorSisig - 33 wins

All Time Wins
Previous Month
Rules
Prize

Crystal Ball Bearer

Finish a Monthly Game with over 20 green days.

Monthly Pro

Win 3 Monthly games

Not Too Bad At This

Finish a Monthly Game with over 10 green days.

Monthly Winner

Win 1 Monthly game.

Monthly Podium Pro

Finish in the Monthly podium 5 times.

Monthly Master

Win 5 monthly games.

Game Rules

rules.png

You don't need to pick anything for this game. The game is based on each daily pick you make in the Daily Game. Each market direction you guess right nets you one point for the monthly leaderboard. The game starts at the first trading day of each new month, and ends at the last trading day of said month. The winner of the game is the person that gets the most wins. In case of a tie, the tiebreaker will be the longest winning streak during the month at play. In the rare event the S&P 500 ends flat (0.00%) on a given day, every single pick will be awarded 0.5 points.

Achievements

bottom of page