This file contains 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
0xaD9b872817b05315611B23F1C16306e0E692ab87 |
This file contains 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
# Welcome to CRIX. | |
# This file is a minimal example to get you started. | |
# If you have any questions, you can always ask us on Telegram: https://t.me/joinchat/AAKXwhUQzCJTcSd4h76LYQ | |
# Or check out Catalyst's documentation: https://enigma.co/catalyst/ | |
# Happy trading! | |
# youtube: https://www.youtube.com/watch?v=yswBW0uyqgQ&t=5s | |
# Imports | |
import pandas as pd | |
import numpy as np |
This file contains 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
-- https://www.sqlite.org/json1.html | |
CREATE TABLE stat | |
( | |
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | |
started_at TIMESTAMP NOT NULL DEFAULT current_timestamp, | |
finished_at TIMESTAMP NOT NULL DEFAULT current_timestamp, | |
meta JSON NOT NULL DEFAULT '{}' -- JSON! | |
); | |
CREATE INDEX stat_meta_project ON stat (meta ->> 'project'); |
This file contains 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
package web | |
import ( | |
"errors" | |
"fmt" | |
"html/template" | |
"io/fs" | |
"os" | |
"path" | |
"strings" |
OlderNewer