Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hello everyone
#4
You should learn some basic Python first look at list we have here A List of Free Python Resources.

More on the subject Building an Automated Trading System From the Comfort of Your Own Home.
See Data Source a first box,this is getting stock data from eg API like Alpha Vantage.
A quick demo using Alpha Vantage,and here will be using Requests this is automatic choice for me,but if may not be if new to Python.
import requests

api_key = 'Your_api_key'
symbol_company = 'IBM'
# Org requests
#https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=IBM&apikey=demo

# Make my own
resonse = requests.get(f'https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol={symbol_company}&apikey={api_key}')
stock_data = resonse.json()
print(stock_data['Time Series (Daily)']['2020-04-03'])
Output:
{'1. open': '108.9200', '2. high': '110.0700', '3. low': '104.9200', '4. close': '106.3400', '5. volume': '4538113'}
If i look at Automated Trading Software like eOption, Interactive Brokers.
These are big and lot work to make bye more than one person.
eOption is web-based look, Interactive Brokers use GUI look.

I would have gone for web-based solution if gone make something like this in a smaller scale,
then Flask or Django are good options.
For a GUI option WxPython or QT for Python
Reply


Messages In This Thread
hello everyone - by astral_travel - Apr-05-2020, 08:22 AM
RE: hello everyone - by ibreeden - Apr-05-2020, 08:47 AM
RE: hello everyone - by astral_travel - Apr-05-2020, 09:01 AM
RE: hello everyone - by snippsat - Apr-05-2020, 10:20 AM
RE: hello everyone - by astral_travel - Apr-05-2020, 11:29 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020