File tree 4 files changed +14
-15
lines changed
4 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 1
- numpy > =1.26.* # version might be limited by numba and tensorflow
2
- pandas > =2.* # version might be important for parsing timestamps
1
+ numpy = =1.26.* # version might be limited by numba and tensorflow
2
+ pandas = =2.* # version might be important for parsing timestamps
3
3
numba # For highlow label generator. numba 0.57.1 requires numpy<1.25,>=1.21,
4
4
pyarrow # If parquet is used. Alternatively fastparquet
5
5
8
8
tqdm
9
9
10
10
# Downloaders
11
- python-binance > =1.0.* # pip install python-binance
11
+ python-binance = =1.0.* # pip install python-binance
12
12
13
13
# Features/label generation
14
14
# tsfresh # if tsfresh feature generator is used. It depends on matrixprofile with binary (in pip) only for Python 3.8
15
15
ta-lib # Python wrapper for TA-lib (native) library
16
16
17
17
# Algorithms
18
18
scikit-learn == 1.5.*
19
- lightgbm > =4.*
20
- tensorflow > =2.16.*
19
+ lightgbm = =4.*
20
+ tensorflow = =2.16.*
21
21
22
22
# seaborn # if diagrams are turned on
Original file line number Diff line number Diff line change 8
8
import pandas as pd
9
9
import asyncio
10
10
11
- from binance . client import Client
11
+ from binance import Client
12
12
from binance .exceptions import *
13
13
from binance .helpers import date_to_milliseconds , interval_to_milliseconds
14
14
from binance .enums import *
19
19
20
20
import logging
21
21
log = logging .getLogger ('collector' )
22
- logging .basicConfig (
23
- filename = "collector.log" , # parameter in App
24
- level = logging .DEBUG ,
25
- #format = "%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s",
26
- format = "%(asctime)s %(levelname)s %(message)s" ,
27
- #datefmt = '%Y-%m-%d %H:%M:%S',
28
- )
29
22
30
23
31
24
async def main_collector_task ():
Original file line number Diff line number Diff line change 18
18
from service .trader_binance import main_trader_task , update_trade_status
19
19
20
20
import logging
21
-
22
21
log = logging .getLogger ('server' )
23
22
23
+ logging .basicConfig (
24
+ filename = "server.log" ,
25
+ level = logging .DEBUG ,
26
+ #format = "%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s",
27
+ format = "%(asctime)s %(levelname)s %(message)s" ,
28
+ #datefmt = '%Y-%m-%d %H:%M:%S',
29
+ )
24
30
25
31
#
26
32
# Main procedure
Original file line number Diff line number Diff line change 8
8
import pandas as pd
9
9
import asyncio
10
10
11
- from binance . client import Client
11
+ from binance import Client
12
12
from binance .exceptions import *
13
13
from binance .helpers import date_to_milliseconds , interval_to_milliseconds
14
14
from binance .enums import *
You can’t perform that action at this time.
0 commit comments