-
您好想請問一下
在3-64當中
import sys
sys.path.append('D:\Trading Strategy_EX\Chapter3')
上面這段的用意為何?
另外我嘗試複製一個類似程式,在同一個資料夾下執行範例程式時
出現以下錯誤訊息
File "/Users/mac/Documents/python-and-Taiwan-stock-market-m…
-
Research different trading strategies to determine the ideal strategy for StockSim. Also look into the different types of formulas that can be used to figure out when to buy/sell a specific stock/opti…
-
main.py에서 아래 코드를 보면 delayed_reward_threshold가 .2로 설정되어 있어 학습을 시켜보면 delayed_reward가 계속 0으로 나와 제대로 학습이 안되네요.
어느 정도로 설정하는 것이 좋을까요?
policy_learner = PolicyLearner(
stock_code=stock_code, char…
-
I've had some problems when I run lines such as
` order_result = r.order_sell_market(ticker, shares, timeInForce='gfd')
`
and I get back this error: `{'non_field_errors': ['Your a…
-
I have been able to predict the result through single input, such as stock data, and forecast the following data through input of the closing price of the stock. Such prediction effect is not good, so…
-
# To Reproduce
Steps to reproduce the behavior:
{
Running this cell after all those before:
import pandas as pd
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import date…
-
In my experience of stock trading and cryptocurrency trading, KDJ is the best short-swing trading indicator. Could you please support KDJ indicator?
-
The cutoff doesn't seem to be working correctly. Based on what I'm seeing it might be using the number as absolute rather than maximum.
Eg: a cutoff of 4, ONLY shows complete sets and sets with 4…
-
Hello,
From your data, I understand:
- Open is price in the first second of minutes (like 1:00 or 1:01)
- High and low is the highest and lowest price in whole minutes (from 0:00 to 0:59)
- But th…
-
Hello, I cannot run the code because I get this error:
````
(venv) linus@linux:~/trading/Deep-Reinforcement-Learning-for-Automated-Stock-Trading-Ensemble-Strategy-ICAIF-2020$ python run_DRL.py
WA…