Initial import: grid-bot — grid trading bot for BTC-USDT on Cifra Markets

This commit is contained in:
Kolp
2026-09-24 13:22:23 +07:00
commit 642cc11a9f
18968 changed files with 5683248 additions and 0 deletions
@@ -0,0 +1,17 @@
import functools
from torch.utils._triton import has_triton
@functools.cache
def has_helion_package() -> bool:
try:
import helion # type: ignore[import-untyped, import-not-found] # noqa: F401
except ImportError:
return False
return True
@functools.cache
def has_helion() -> bool:
return has_helion_package() and has_triton()