- Simple try-catch module using pcall in lua
- example for error handling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| from tradingview_ta import Interval, get_multiple_analysis | |
| df = pd.read_csv('nasdaq_tickers.csv').astype(str) | |
| symbols = df['Symbol'].astype(str) | |
| nasdaq_symbols = ["NASDAQ:" + symbol for symbol in symbols] | |
| analysis_results = get_multiple_analysis( | |
| screener="america", | |
| interval=Interval.INTERVAL_1_WEEK, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Xml; | |
| /// <summary> | |
| /// Utility class to provide documentation for various types where available with the assembly | |
| /// </summary> | |
| public static class DocumentationExtensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local Sounds = { | |
| path = "../Sounds/", | |
| filenameExt = ".ogg", | |
| __call = function(self) | |
| math.randomseed(os.time()) | |
| self.path = self.path .. self.type .. math.random(self.quantity) .. self.filenameExt | |
| return self | |
| end | |
| } | |
| Sounds.__index = Sounds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local fps = 60 --move이벤트 fps설정 | |
| local Screen = { | |
| --@properties | |
| callbacks = {}, -- 함수가 담기는 테이블 | |
| x = 0, --커서를 누른 x좌표 | |
| y = 0, --커서를 누른 y좌표 | |
| dx = 0, --커서가 움직인 x좌표 | |
| dy = 0, --커서가 움직인 y좌표 | |
| timer = 0, --온틱 타이머 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local dropTable = { | |
| [1] = { | |
| {item = "item1", weight = 4}, | |
| {item = "item2", weight = 1}, | |
| {item = "item3", weight = 19}, | |
| {item = "item4", weight = 2}, | |
| {item = "item5", weight = 30}, | |
| {item = "item6", weight = 7} | |
| } | |
| } |