Skip to content

Instantly share code, notes, and snippets.

View bitdom8's full-sized avatar

bitdom8 bitdom8

View GitHub Profile
@bitdom8
bitdom8 / gist:a2de88853fac2639c936e1294831f0ef
Created December 29, 2023 05:46
Apps Script create docs faster under some conditions, like stocks analysis
let docFinal = DocumentApp.openById("12VOHJKlpq137KhRZSlKz3qrO4hIo6ajhDv3-kk8TwjU");
// 3 of them
let docTemplete12 = DocumentApp.openById("1xuoKxDGzRr_7CwcoEEmc5Q1z0w7Jq8NIO2tMnsGUc60");
// all of them
// let docTemplete12 = DocumentApp.openById("1O_t_DzHf0XpKA6FmRrNwkhvywJ2rRT17AHy39Pka5FY");
//change the tr to get price and pct
//when en, keep TSLA out if deny error
@bitdom8
bitdom8 / gist:3257876ef86f1769d10573815a5f7340
Last active December 29, 2023 05:42
MongoDB send variables to Database in javascript
{
"userid": {
"$oid": "613dfcca7e7e2014c12dfeef"
},
"attach": "[\"https://image.yourwebsite.com/be/images/{dateyear}/{datemonth}/finance_analysis.webp\"]",
"title": "{link}, {DEĞ %}",
"description": "{link}, {DEĞ %} {1-AY DÜŞÜK}\n\n{OSİLATÖRLERİN RATİNG'İ}{ADX}\n\n{MÜTHİS OSİLATÖR}{ATR}{CCI20}\n\n{MACD SEVİYESİ} {MOM}{RSI14}\n\n{STOKASTİK K} {STOKASTİK D}\n\n{AROON ÜST} {AROON ALT} {BOĞAAYIGÜCÜ}\n\n{SAR}{BHO10}{HAREKETLİ ORTALAMALAR RATİNG'İ}",
"price": 0,
"color": "[]",