Initial import: grid-bot — grid trading bot for BTC-USDT on Cifra Markets
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from .kronos import KronosTokenizer, Kronos, KronosPredictor
|
||||
|
||||
model_dict = {
|
||||
'kronos_tokenizer': KronosTokenizer,
|
||||
'kronos': Kronos,
|
||||
'kronos_predictor': KronosPredictor
|
||||
}
|
||||
|
||||
|
||||
def get_model_class(model_name):
|
||||
if model_name in model_dict:
|
||||
return model_dict[model_name]
|
||||
else:
|
||||
print(f"Model {model_name} not found in model_dict")
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user