-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while processing #20
Comments
Have you found a solution to the problem yet, I am having the same issue? |
Anyone found a solution to this yet? |
Solution https://pastebin.com/VeVTfJQ1 |
xeonvs
pushed a commit
to xeonvs/surpriver
that referenced
this issue
Aug 13, 2021
amedeiros
added a commit
to amedeiros/surpriver
that referenced
this issue
Sep 29, 2021
fix issues tradytics#20 tradytics#21 by update params for TA
amedeiros
added a commit
to amedeiros/surpriver
that referenced
this issue
Sep 29, 2021
amedeiros
added a commit
to amedeiros/surpriver
that referenced
this issue
Sep 29, 2021
Revert "fix issues tradytics#20 tradytics#21 by update params for TA"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I keep getting the following error while the script is running.
Exception __init__() got an unexpected keyword argument 'n'
Then, when finished, it gives this error:
Exception in thread Thread-2123: Traceback (most recent call last): File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/site-packages/multitasking/__init__.py", line 102, in _run_via_pool return callee(*args, **kwargs) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/site-packages/yfinance/multi.py", line 167, in _download_one_threaded actions, period, interval, prepost, proxy, rounding) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/site-packages/yfinance/multi.py", line 182, in _download_one rounding=rounding, many=True) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/site-packages/yfinance/base.py", line 156, in history data = data.json() File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/site-packages/requests/models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/home/sage/anaconda3/envs/Cerebus/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I'm running it on Anaconda and all of the requirements are installed.
I've also tried this, in case it was a Python version issue.
python3 detection_engine.py --top_n 25 --min_volume 5000 --data_granularity_minutes 60 --history_to_use 14 --is_load_from_dictionary 0 --data_dictionary_path 'dictionaries/data_dict.npy' --is_save_dictionary 1 --is_test 1 --future_bars 25
Ialso found these in the detection_engine.py
Basic libraries
import os
import ta = Not working
import sys = Not working
import json
import math = Not working
import pickle = Not working
import random = Not working
import requests = Not working
import collections
import numpy as np
from os import walk = Not working, path
import pandas as pd = Not working
import yfinance as yf = Not working
import datetime as dt
from scipy.stats import linregress = Not working
from datetime import datetime = Not working, timedelta = Not working
import matplotlib.pyplot as plt
from sklearn.ensemble import IsolationForest
from data_loader import DataEngine
import warnings
The text was updated successfully, but these errors were encountered: