@alleyway/add-tradingview-alerts-tool
Version:
Add TradingView Alerts in bulk
56 lines (51 loc) • 1.46 kB
text/typescript
import {
clickContinueIfWarning,
takeScreenshot,
configureInterval,
convertIntervalForTradingView,
configureSingleAlertSettings,
clickSubmit,
addAlert,
navigateToSymbol,
login,
logout,
fetchFirstXPath,
checkForInvalidSymbol,
launchBrowser,
isXpathVisible
} from "./service/tv-page-actions.js"
import {SelectionError, InvalidSymbolError, AddAlertInvocationError, ErrorWithScreenShot} from "./classes.js";
import {fetchSymbolsForSource} from "./service/exchange-service.js"
import {waitForTimeout, atatVersion, isEnvEnabled, styleOverride} from "./service/common-service.js"
import log from "./service/log.js"
import {IBaseSymbol, ISingleAlertSettings, ClassificationType, soundNames, soundDurations} from "./interfaces.js"
import {MasterSymbol} from "./classes.js";
export type {IBaseSymbol, ISingleAlertSettings, MasterSymbol, ClassificationType}
export {
launchBrowser,
fetchFirstXPath,
clickContinueIfWarning,
takeScreenshot,
configureInterval,
configureSingleAlertSettings,
clickSubmit,
addAlert,
navigateToSymbol,
login,
logout,
fetchSymbolsForSource,
waitForTimeout,
atatVersion,
log,
isEnvEnabled,
SelectionError,
ErrorWithScreenShot,
InvalidSymbolError,
convertIntervalForTradingView,
checkForInvalidSymbol,
styleOverride,
isXpathVisible,
AddAlertInvocationError,
soundDurations,
soundNames
}