Merge branch 'master' of https://github.com/fin-tic/fintic
This commit is contained in:
commit
fee16de6c9
@ -5,7 +5,7 @@ Run these commands in the directory you want to put the app and press enter duri
|
||||
```console
|
||||
sudo apt-get update
|
||||
sudo apt-get install git
|
||||
git clone https://github.com/zcqsntr/fintic --recursive
|
||||
git clone https://github.com/fin-tic/fintic --recursive
|
||||
|
||||
cd fintic
|
||||
./setup.sh
|
||||
|
@ -1,3 +1,10 @@
|
||||
# Copyright (C) 2020 Fintic, finticofficial@gmail.com
|
||||
#
|
||||
# This file is part of Fintic project, developed by Neythen Treloar and Justin Dunn
|
||||
#
|
||||
# This code can not be copied and/or distributed without the express
|
||||
# permission of Fintic
|
||||
|
||||
import finnhub
|
||||
import time
|
||||
import csv
|
||||
@ -138,8 +145,8 @@ def updateStockPricesFinhubb():
|
||||
|
||||
def updateStockPrices():
|
||||
|
||||
iexAPIkey = 'pk_68ef6a15902c41f887f0b544a0ca17cf' #IEX
|
||||
iexSandboxAPIkey = 'Tpk_0078dff413ef4f979137f7111452dc4b'
|
||||
iexAPIkey = 'pk_d066d39789bd41caac209bca850a35db' #IEX
|
||||
|
||||
max_stocks = 200
|
||||
symbols, stock_info = readCSV('csv/tickers.csv', max_stocks)
|
||||
try:
|
||||
@ -259,7 +266,7 @@ def updateNews():
|
||||
|
||||
def updateWeather():
|
||||
max_cities = 30
|
||||
api_key = 'bd5d5096a5ba30bbcfb57ead42ab3fee'
|
||||
api_key = 'a9476947fa1a2f712076453bec4a0df5'
|
||||
try:
|
||||
gn = geocoders.GeoNames(username='fintic')
|
||||
|
||||
@ -334,7 +341,7 @@ def updateWeather():
|
||||
|
||||
|
||||
def updateForex():
|
||||
api_key = '862dbb6d1101ce0c5136'
|
||||
|
||||
try:
|
||||
base = 'USD'
|
||||
yesterday = datetime.now() - timedelta(1)
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright (C) 2020 Daniel Richardson richardson.daniel@hotmail.co.uk
|
||||
# Copyright (C) 2020 Fintic, finticofficial@gmail.com
|
||||
#
|
||||
# This file is part of stockTicker project for justinodunn.
|
||||
# This file is part of Fintic project, developed by Neythen Treloar and Justin Dunn
|
||||
#
|
||||
# stockTicker can not be copied and/or distributed without the express
|
||||
# permission of Daniel Richardson
|
||||
# permission of Fintic
|
||||
|
||||
|
||||
import sys, select
|
||||
|
Loading…
Reference in New Issue
Block a user