Skip to content

Commit

Permalink
fix url data
Browse files Browse the repository at this point in the history
  • Loading branch information
traderpedroso committed Aug 26, 2022
1 parent 6dd7a57 commit f78db3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion ejtraderRL/data/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_forex_data(symbol: str, timeframe: str):
"""
symbol = symbol.upper()

url = "https://raw.githubusercontent.com//ejtraderLabs/historical-data/main/"
url = "https://raw.githubusercontent.com/ejtraderLabs/historical-data/main/"
url += symbol + "/" + symbol + timeframe.lower() + ".csv"

return pd.read_csv(url)
Expand Down
19 changes: 3 additions & 16 deletions examples/full.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -46,22 +46,9 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" You can now view your Streamlit app in your browser.\n",
"\n",
" Local URL: http://localhost:8501\n",
" Network URL: http://192.168.1.156:8501\n",
"\n"
]
}
],
"outputs": [],
"source": [
"app.web()"
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
name='ejtraderRL',
packages=find_packages(),

version='1.0.2',
version='1.0.3',

license='Apache-2.0 License',

Expand Down

0 comments on commit f78db3e

Please sign in to comment.