Skip to content

Instantly share code, notes, and snippets.

View MarkRBest's full-sized avatar

Mark R Best MarkRBest

View GitHub Profile
@MarkRBest
MarkRBest / risk_manager.py
Created April 6, 2024 18:42
Risk manager using array indexing
from enum import IntEnum
class Exchange(IntEnum):
Binance = 0
Bybit = 1
Okx = 2
class Currency(IntEnum):
BTC = 0
ETH = 0