система авторизации
This commit is contained in:
1 parent
85425483c0
commit
f6f1ae20c2
21 files changed
+581
-110
No files matched your search
+2
-1
@@ -16,6 +16,7 @@ Results (prices, fees) are the exchange's own fills; `exact` is False where the
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import os
|
||||
from persistence import atomic_write_json
|
||||
import queue
|
||||
import threading
|
||||
@@ -25,7 +26,7 @@ from pathlib import Path
|
||||
import live
|
||||
|
||||
ROOT = Path(__file__).resolve().parent
|
||||
DATA_DIR = ROOT / "web_sim_data"
|
||||
DATA_DIR = Path(os.environ.get("CRYPTO_SCAM_DATA_DIR", ROOT / "web_sim_data")).resolve()
|
||||
SETTINGS_FILE = DATA_DIR / "real_simulator.json"
|
||||
JOURNAL = DATA_DIR / "real_orders.jsonl"
|
||||
_journal_lock = threading.Lock()
|
||||
|
||||
Reference in new issue
Block a user