Skip to content

Commit

Permalink
refactor: update trade dates, Python version support, and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mywildquant committed Jan 28, 2025
1 parent 73eed0a commit 145ec94
Show file tree
Hide file tree
Showing 5 changed files with 528 additions and 39 deletions.
5 changes: 2 additions & 3 deletions QUANTAXIS/QAEngine/QAAsyncThread.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import asyncio
import threading
from functools import wraps

from janus import Queue as QA_AsyncQueue

from QUANTAXIS.QAEngine.QAEvent import QA_Event
from QUANTAXIS.QAUtil import QA_util_log_info, QA_util_random_with_topic, RUNNING_STATUS
from QUANTAXIS.QAUtil import QA_util_random_with_topic, RUNNING_STATUS


class QA_AsyncThread(threading.Thread):
_loop = asyncio.new_event_loop()
_queue: QA_AsyncQueue = QA_AsyncQueue(loop=_loop)
_queue: QA_AsyncQueue = QA_AsyncQueue()

def __init__(self, name=None, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down
Loading

0 comments on commit 145ec94

Please sign in to comment.