Skip to content

Commit 006fc37

Browse files
committed
0.0.7
1 parent 624dbce commit 006fc37

16 files changed

+23
-11
lines changed

dist/viaduct-0.0.5.tar.gz

-5.84 KB
Binary file not shown.

dist/viaduct-0.0.6.tar.gz

5.83 KB
Binary file not shown.

geckodriver.log

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
1613322963285 geckodriver INFO Listening on 127.0.0.1:50336
2+
1613322966326 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\harry\\AppData\\Local\\Temp\\rust_mozprofileWrcvk7"
3+
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
4+
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
5+
1613322970893 Marionette INFO Listening on port 50344
6+
1613322971124 Marionette WARN TLS certificate errors will be ignored for this session
7+
1613322971148 Marionette ERROR [15] No reply from Marionette:Register
8+
1613323004769 Marionette INFO Stopped listening on port 50344
9+
10+
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
11+

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='viaduct', # How you named your package folder (MyLib)
55
packages=['viaduct'], # Chose the same as "name"
6-
version='0.0.6', # Start with a small number and increase it with every change you make
6+
version='0.0.7', # Start with a small number and increase it with every change you make
77
# Chose a license from here: https://help.github.com/articles/licensing-a-repository
88
license='gpl-3.0',
99
# Give a short description about your library
@@ -14,7 +14,7 @@
1414
# Provide either the link to your github or to your website
1515
url='https://github.com/harrytwigg/Viaduct-Trading212-Python-API',
1616
# I explain this later on
17-
download_url='https://github.com/harrytwigg/Viaduct-Trading212-Python-API/archive/0.0.6.tar.gz',
17+
download_url='https://github.com/harrytwigg/Viaduct-Trading212-Python-API/archive/0.0.7.tar.gz',
1818
keywords=['python', 'api', 'rest', 'api-wrapper', 'viaduct', 'trading212',
1919
'trading212-api'], # Keywords that define your package best
2020
install_requires=[ # I get to this in a second

tests.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
from viaduct import ISA
1+
#from viaduct import ISA
22
from viaduct import Public
3+
from viaduct.setup import *
34
from viaduct.utils import *
45

5-
test = ISA("email", "pass", Reality.Real,
6-
browserPath=r"C:\Program Files\Mozilla Firefox\firefox.exe")
6+
#test = ISA("email", "pass", Reality.Real,
7+
# browserPath=r"C:\Program Files\Mozilla Firefox\firefox.exe")
78
# print(test.getSettings(code="GYMl_EQ"))
89
# print(test.getFundamentals(isin="US36467W1099"))
910
#print(test.getInstrument(code="TSLA"))
@@ -12,9 +13,9 @@
1213

1314
public = Public(loadSymbols=False)
1415
#print(public.getChartData(code=public.getCode(isin="US4592001014"), chartPeriod=ChartPeriod.H1, size=5))
15-
account = test.getPortfolioPerformance(HistoryTimeframe.Y1)
16+
#account = test.getPortfolioPerformance(HistoryTimeframe.Y1)
1617
#print(account)
17-
18+
"""
1819
x = []
1920
y = []
2021
y2 = []
@@ -30,4 +31,4 @@
3031
plt.plot(x, y2, label="result")
3132
plt.plot(x, y3, label="investment")
3233
plt.legend()
33-
plt.show()
34+
plt.show()"""

viaduct/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from viaduct.isa import ISA
22
from viaduct.public import Public
33
from viaduct.utils import *
4-
from viaduct import setup
4+
from viaduct.setup.installer import *
319 Bytes
Binary file not shown.
3.83 KB
Binary file not shown.
1.65 KB
Binary file not shown.
4.03 KB
Binary file not shown.

0 commit comments

Comments
 (0)