Qubx 0.2.77__cp311-cp311-manylinux_2_35_x86_64.whl → 0.2.78__cp311-cp311-manylinux_2_35_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of Qubx might be problematic. Click here for more details.

qubx/core/strategy.py CHANGED
@@ -154,6 +154,7 @@ class StrategyContext(ITimeProvider):
154
154
  instruments: List[Instrument] # list of instruments this strategy trades
155
155
  positions: Dict[str, Position] # positions of the strategy (instrument -> position)
156
156
  acc: AccountProcessor
157
+ broker_provider: IBrokerServiceProvider # market data provider
157
158
 
158
159
  def process_data(self, symbol: str, d_type: str, data: Any) -> bool: ...
159
160
 
qubx/data/readers.py CHANGED
@@ -907,7 +907,7 @@ class QuestDBConnector(DataReader):
907
907
 
908
908
  query = f"""
909
909
  select timestamp,
910
- symbol,
910
+ upper(symbol) as symbol,
911
911
  first(open) as open,
912
912
  max(high) as high,
913
913
  min(low) as low,
@@ -939,7 +939,7 @@ class QuestDBConnector(DataReader):
939
939
  where timestamp >= '{start}' and timestamp < '{stop}'
940
940
  SAMPLE BY {QuestDBSqlCandlesBuilder._convert_time_delta_to_qdb_resample_format(timeframe)}
941
941
  )
942
- select symbol, avg(qvolume) as quote_volume from sampled
942
+ select upper(symbol) as symbol, avg(qvolume) as quote_volume from sampled
943
943
  group by symbol
944
944
  order by quote_volume desc;
945
945
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Qubx
3
- Version: 0.2.77
3
+ Version: 0.2.78
4
4
  Summary: Qubx - quantitative trading framework
5
5
  Home-page: https://github.com/dmarienko/Qubx
6
6
  Author: Dmitry Marienko
@@ -14,17 +14,17 @@ qubx/core/helpers.py,sha256=V_3505UiQhQcNwKVFN3S7hQAgmfU0Lly3JX1kk3GW8E,12664
14
14
  qubx/core/loggers.py,sha256=zpehm2-RdKG1ISe6t3DiM3RrL_zzGni3YFcxfgDkV24,16575
15
15
  qubx/core/lookups.py,sha256=GzGmw8sEtS1ly2YSQMwrBVywFtWaAcXSd6mPCA1HIvQ,14614
16
16
  qubx/core/metrics.py,sha256=Y33YgwyGbbZ7KGAcmcQ1mNi8Rg_D76b3704Q8TrQL5s,39521
17
- qubx/core/series.cpython-311-x86_64-linux-gnu.so,sha256=dvpNp71X_PKe9xVNNqD18OrVCAdxP8gwcY37DrjyICg,779016
17
+ qubx/core/series.cpython-311-x86_64-linux-gnu.so,sha256=4i0wI8A8mttLXfXYLFy7TWg_7X7fwp4LmU1B8Dxzdgg,779016
18
18
  qubx/core/series.pxd,sha256=kF7QeLFgCM-C2hDxVvJM97ZOmyw1v7JEI9WfPKtQ6xs,3002
19
19
  qubx/core/series.pyi,sha256=bRBWOaDUBe4Hm2SvraoVeT-n5NFLA92fi8ezrArx9nY,2831
20
20
  qubx/core/series.pyx,sha256=UhZsnT7R3-UED05Fnp3mGxr4RSdMpWAHB4lkcz46MFo,32598
21
- qubx/core/strategy.py,sha256=tTXhDbFTH63yj53mLgVEDBZxYOxC51prcsyXWkdTgLs,10991
22
- qubx/core/utils.cpython-311-x86_64-linux-gnu.so,sha256=iNhVljAJJkrFa0icVYkFfCjkpaqEPOiQkep12vNgXRM,82504
21
+ qubx/core/strategy.py,sha256=kFO7OU1lGV6o9Ih59bPnmTphrQT4tkLV8ADvoYeuZrk,11059
22
+ qubx/core/utils.cpython-311-x86_64-linux-gnu.so,sha256=d2N0ewDrqe0gu8CP31VVKlYTN_BiXn3cDvPfFf7KXq0,82504
23
23
  qubx/core/utils.pyi,sha256=DAjyRVPJSxK4Em-9wui2F0yYHfP5tI5DjKavXNOnHa8,276
24
24
  qubx/core/utils.pyx,sha256=-8ek58CrbqWZq0-OY7WSREsCXBoBeWrD_wEYbIBS9rI,1696
25
25
  qubx/data/__init__.py,sha256=Ln1GB07OWaD5BcwlapaoHBxUvw2kUGXXS24vgfeRdhk,216
26
26
  qubx/data/helpers.py,sha256=A0NGzhpXYWD92-GeB8TghwMnR0NW8bjcNJOCXybQw3g,782
27
- qubx/data/readers.py,sha256=Ca-VJYbB4d8Q305QKhzuR8Nlmo3ku_zQRaZLUuXjM-Y,40263
27
+ qubx/data/readers.py,sha256=e1LFkQtMcYnTnYyitTa4reitdWwgSir76hGV5Dsg_EU,40297
28
28
  qubx/gathering/simplest.py,sha256=Ez3YFZMKH3o0jV0Qbg1SuZiuFNs_5No_C7wZ6vOeqfo,3814
29
29
  qubx/impl/ccxt_connector.py,sha256=ja_0WJDyZfkzqhNvoV-c5CCg15YnbRIThxw0TTNdwcc,13066
30
30
  qubx/impl/ccxt_customizations.py,sha256=WUhDT9x2SYuFrOyBIbk2D9Q_U_5QZhtLomLq88Egf_c,6230
@@ -36,7 +36,7 @@ qubx/pandaz/__init__.py,sha256=xlZvm48eBur0U7N4F4xTKqh7-n5fN0wghj1Tb8lCCNk,332
36
36
  qubx/pandaz/ta.py,sha256=NthiiueUoqWGRcjovcKKThcCcdImZn3JRdWDA2vL28k,85075
37
37
  qubx/pandaz/utils.py,sha256=O5wXkYKiTCdGR7hZR4tQtFTbTF-q_kEk-n1DyR-P3X0,19519
38
38
  qubx/ta/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- qubx/ta/indicators.cpython-311-x86_64-linux-gnu.so,sha256=9n4JjdaSBb5_ee9dCOw7uzzwgh4dU6sRVnaonEMZ_rE,576168
39
+ qubx/ta/indicators.cpython-311-x86_64-linux-gnu.so,sha256=trA-DfJUE2Vd6uVFmI8KsVekGNKoaWO-sRdMED1JYjs,576168
40
40
  qubx/ta/indicators.pxd,sha256=YzPDhbbNPmy3m4NafwIRF5sNFsmkq-MM1gbeAygtBwM,4007
41
41
  qubx/ta/indicators.pyi,sha256=mM_7ISmGQDgjhwxCoZXDw7Rm9fynQSYjevV7fRoLdNc,1683
42
42
  qubx/ta/indicators.pyx,sha256=GuxB63YApFnA9IWNJDbBt90J1sOoxTf3jDWYQ3uD9So,24306
@@ -54,6 +54,6 @@ qubx/utils/misc.py,sha256=Av0mhrPCy5NZRrRmjOAhTKusa8wVdL7vCQtEy9bVnz4,10450
54
54
  qubx/utils/ntp.py,sha256=LZo4FPVY3rqLUV9VWkLcZaPOpUDFC8Qleynmfggg9No,1758
55
55
  qubx/utils/runner.py,sha256=Czo01KUCc9Oj9TIcs03d6Qh7fOpQV5w8oH6UDZ6Yqn0,9539
56
56
  qubx/utils/time.py,sha256=fIVWYRmqRT1zkLIWy9jo_Fpfpc03S0sYyOcrHZcfF74,5198
57
- qubx-0.2.77.dist-info/METADATA,sha256=f16uZj7PqO1IwHQbp8yP_7i1r-zcSJV6ak6VksqIACo,2572
58
- qubx-0.2.77.dist-info/WHEEL,sha256=MLOa6LysROdjgj4FVxsHitAnIh8Be2D_c9ZSBHKrz2M,110
59
- qubx-0.2.77.dist-info/RECORD,,
57
+ qubx-0.2.78.dist-info/METADATA,sha256=UiI1e3xQ7PwBBGMGp9iLPhTdmGOuz8NmjJFFuqZtN40,2572
58
+ qubx-0.2.78.dist-info/WHEEL,sha256=MLOa6LysROdjgj4FVxsHitAnIh8Be2D_c9ZSBHKrz2M,110
59
+ qubx-0.2.78.dist-info/RECORD,,
File without changes