
zadescoxp/Jev-Trades on GitHub
- Stars
- 30
- Forks
- 5
- Language
- Python
- License
- Apache-2.0
- Last push
- 18 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
from schema import Questions
LOG_PATH = Path(__file__).with_name("agent_log.jsonl")
TYPESAFE_URL = "https://api.typesafe.ai/v1/systemone"
load_dotenv(Path(__file__).with_name(".env"))
if os.getenv("TYPESAFE_AI_API_KEY") and not os.getenv("TYPESAFE_API_KEY"):
os.environ["TYPESAFE_API_KEY"] = os.environ["TYPESAFE_AI_API_KEY"]
class PaperTrader:
def __init__(self, capital: float = 100_000.0, max_wallet_position_pct: float = 0.75, risk_appetite: str = "balanced") -> None:
self.lock = threading.RLock()
self.starting_cash = capital
self.max_wallet_position_pct = max(0.01, min(max_wallet_position_pct, 1.0))
self.risk_appetite = risk_appetiteView in pipeline/paper_trader.py


