@blackphoenixslo/trading-bot-framework
Version:
A comprehensive framework for building trading bots with support for TradingView, various market data providers, MongoDB, Google Sheets, and Discord alerts.
66 lines (51 loc) • 2.46 kB
JavaScript
// index.js for @blackphoenixslo/trading-bot-framework
// Exporting functions from the main-bot--GetMArketCap_Corr.js file
const fetchAllMarketCapAndCorrelationData = require('./main-bot--GetMArketCap_Corr');
// Exporting functions from the main-bot--TVretrive.js file
const RetreveTV_Data_MongoDBpush = require('./main-bot--TVretrive');
// Exporting functions from the main-bot--GoogleSheets.js file
const updateGooglesheets = require('./main-bot--GoogleSheets');
// Exporting functions from the main-bot__testcredentials.js file
const { getValidCredentials } = require('./main-bot__testcredentials');
// Exporting functions from the main-bot--nonProvisional.js file
const makeNonprovisionaDailySignal = require('./main-bot--nonProvisional');
// Exporting functions from the main-bot--CalculateWaightedSignals.js file
const { weightedaverage, MultipleWeightedAverage } = require('./main-bot--CalculateWaightedSignals');
// Exporting functions from the main-bot--alerts.js file
const {alerts, MakeAlerts ,MakeAlertsFast, MakeAlertsBinance} = require("./main-bot--alerts");
// Exporting functions from the main-bot--bybit.js file
const { fetchActiveOrders, DisplayBinanceData } = require("./main-bot--bybit");
const correlations = require('./main-bot--correlations');
const cryptoDataAPI = require('./main-bot--cryptoDataAPI');
const {fetchNewestDataFromMongoDB, fetchDataFromMongoDB, fetchSecondNewestDataFromMongoDB} = require('./main-bot--mongoDownload');
const {processData_mongoDbUpload, insertToDatabase} = require('./main-bot--mongoUpload');
const {
appendAllDataFromJson,
appendDataToSheet,
appendSelectedData,
appendTimeAndPositionData, // Export the new function
appendAllDataFromJson_big
}= require('./main-backtest-googleSheetsUtils');
// Consolidating all exports into a single object for easy import
module.exports = {
fetchAllMarketCapAndCorrelationData,
RetreveTV_Data_MongoDBpush,
updateGooglesheets,
getValidCredentials,
makeNonprovisionaDailySignal,
weightedaverage,
MultipleWeightedAverage,
alerts,
MakeAlerts,
MakeAlertsFast,
fetchActiveOrders,
DisplayBinanceData,
appendAllDataFromJson,
appendDataToSheet,
MakeAlertsBinance,
correlations,
appendSelectedData,
appendTimeAndPositionData, // Export the new function
appendAllDataFromJson_big,
fetchNewestDataFromMongoDB, fetchDataFromMongoDB, fetchSecondNewestDataFromMongoDB, processData_mongoDbUpload, insertToDatabase
};