![codebliss](/img/default-banner.jpg)
- Видео 33
- Просмотров 760 305
codebliss
США
Добавлен 13 июн 2017
Learn programming for practical uses!
For more information and content visit one of my web pages: programmingforfinance.com/
For inquiries and contracting contact me at programming4finance@gmail.com
Check me out on GitHub: github.com/fdupuis659
For more information and content visit one of my web pages: programmingforfinance.com/
For inquiries and contracting contact me at programming4finance@gmail.com
Check me out on GitHub: github.com/fdupuis659
Twelve Data API - Free stock API for developers and investors
The twelvedata API is a free stock, forex, and crypto API which provides financial data from all over the world.
You can get both historical and real-time financial data. It's the best free financial data API I've seen since the Yahoo Finance API.
Check the API out here: twelvedata.com/
You can get both historical and real-time financial data. It's the best free financial data API I've seen since the Yahoo Finance API.
Check the API out here: twelvedata.com/
Просмотров: 24 261
Видео
Using scripts to integrate Python with Microsoft Applications
Просмотров 12 тыс.5 лет назад
We'll be able to run a python script with shell scripting using visual basic. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 👾 *My GitHub Page*: github.com/fdupuis659 🐱💻*Add me on LinkedIn*: www.linkedin.com/in/francis-dupuis-b4a45a13a/ 🙌*Source Code*: github.com/fdupuis659/Yotube-Tutorial-Resources/tree/master/Excel Python Tutorial
Quant Finance with R Part 4: Portfolio Optimization Backtest
Просмотров 18 тыс.5 лет назад
Welcome back! In this tutorial, we will be performing a backtest on our portfolio optimization with native functions in the PortfolioAnalytics package within R. This is essentially rebalancing our portfolio periodically with recalculated optimal weights for out of sample testing. This is super easy in R and saves you a bunch of time not having to write your own backtesting script or class from ...
Quant Finance with R Part 3: Portfolio Optimization
Просмотров 23 тыс.5 лет назад
In this tutorial, we will go into a simple mean-variance optimization in R with the PortfolioAnalytics package... ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ -PortfolioAnalytics Documentation: cran.r-project.org/web/packages/PortfolioAnalytics/PortfolioAnalytics.pdf ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🐱💻 *Source code to this ser...
Quant Finance with R Part 2: Portfolio Analysis
Просмотров 32 тыс.5 лет назад
Welcome back! In this tutorial, we will cover creating a portfolio of stocks and obtaining data for them in an effort to calculate some performance metrics with the PerformanceAnalytics library in R. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ -R Download: cran.r-project.org/mirrors.html -RStudio Download: www.rstudio.com/products/rstu... ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...
Quant Finance with R Part 1: Intro and Data
Просмотров 37 тыс.5 лет назад
Welcome to this quantitative finance series in R! In this tutorial, we'll go over installing necessary dependencies to start and playing a little with the Quantmod package. R is a statistical programming language that's widely used for quantitative finance within hedge funds, investment banks, and other areas as well. R is free and offers a robust set of libraries to analyze all sorts of financ...
Dash and Python 6: Interacting With Plotly Charts
Просмотров 18 тыс.5 лет назад
You've reached the end! We'll finish up our app in this tutorial by adding some additional chart functionality. This will include a range slider to select time frequencies dynamically with our chart as well as a drop-down menu embedded in our chart to change the type (candlestick, bar, etc.). Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Dash Documentation: d...
Dash and Python 5: Callbacks with State & HTML Tables
Просмотров 18 тыс.5 лет назад
Welcome back! In this tutorial, we'll cover callbacks with state, and constructing an HTML table that'll be filled with market news data from the IEX API. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Dash Documentation: dash.plot.ly/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🎁*Source Code*: github.com/fdupuis659/Dash-Stock-App/ 👾...
Dash and Python 4: Callbacks
Просмотров 27 тыс.5 лет назад
Welcome back! In this tutorial, we will delve into callbacks within Dash. Callbacks will allow us to dynamically update elements within our web application. Take a look at how we used a callback to update a stock chart in this video. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Dash Documentation: dash.plot.ly/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬...
Dash and Python 3: Using CSS
Просмотров 38 тыс.5 лет назад
Welcome back! We'll pick up from where we last left off and create some basic CSS for our dash app. We'll also work on linking a CSS sheet from the web to make our app look awesome and neat. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ -External CSS: codepen.io/chriddyp/pen/bWLwgP.css -Python Download: www.python.org/downloads/ -PyCharm Download: -www.jetbra...
Dash and Python 2: Dash Core Components
Просмотров 35 тыс.5 лет назад
Welcome back to my Dash series with Python! In this tutorial, we will begin creating our application by going over some of the Dash core components and HTML structure of our site. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Dash Documentation: dash.plot.ly/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🎁*Source Code*: github.com/fdupuis659...
Dash and Python 1: Setup
Просмотров 81 тыс.5 лет назад
Welcome to my Dash series for Python! Dash allows us to create beautiful web apps with ease. In this tutorial, we will go over what needs to be installed on your local machine to follow along with me during the series. Enjoy! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Resources: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Dash Documentation: dash.plot.ly/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Links! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...
Getting Free Stock Data via the IEX API
Просмотров 12 тыс.5 лет назад
In this tutorial, we will learn how to obtain JSON data (in Excel with VBA) from the IEX API as an alternative to the Yahoo API that was widely used but is now defunct. ▬▬▬▬▬▬Links▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ *Project Link*: github.com/fdupuis659/IEX-Data-VBA/tree/master ✔ JSONConverter source: iextrading.com/developer/docs/#book ✔ IEX API: github.com/VBA-tools/VBA-JSON 👾 *My GitHub Page...
Sending an Email With Python: Attachments and Multiple Recipients
Просмотров 15 тыс.5 лет назад
In this tutorial, we will use the smtplib library and email library to send a pandas dataframe to multiple recipients with Python. ▬▬▬▬▬▬Links▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ *Project Link*: github.com/fdupuis659/PythonEmailer 👾 *My GitHub Page*: github.com/fdupuis659 ➕*Add Me On LinkedIn*: www.linkedin.com/in/francis-d... ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Applying to Jobs Automatically With Python: Demonstration
Просмотров 14 тыс.5 лет назад
In this tutorial series, we will learn how to make the program I created to apply to jobs automatically online via LinkedIn's easy apply feature. I hope you all enjoy this series! ▬▬▬▬▬▬Links▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ *Project Link*: github.com/fdupuis659/LinkedIn-Automatic-Job-Applier 👾 *My GitHub Page*: github.com/fdupuis659 🐍 *PyCharm Download*: www.jetbrains.com/pycharm/download/#s...
Calculating Value at Risk - Variance-Covariance Method
Просмотров 4,8 тыс.6 лет назад
Calculating Value at Risk - Variance-Covariance Method
Simple Monte Carlo Simulation of Stock Prices with Python
Просмотров 117 тыс.6 лет назад
Simple Monte Carlo Simulation of Stock Prices with Python
Different Ways to Graph Stock Data In R
Просмотров 4,1 тыс.6 лет назад
Different Ways to Graph Stock Data In R
Getting Data For Multiple Assets (With Calculations): R For Finance
Просмотров 8 тыс.6 лет назад
Getting Data For Multiple Assets (With Calculations): R For Finance
MySQL and Python: Creating a Database
Просмотров 18 тыс.6 лет назад
MySQL and Python: Creating a Database
Interacting With a Web Page: Selenium and Python 2
Просмотров 26 тыс.6 лет назад
Interacting With a Web Page: Selenium and Python 2
Downloads and AJAX Overview: Selenium and Python 1
Просмотров 4,6 тыс.6 лет назад
Downloads and AJAX Overview: Selenium and Python 1
thanks a lot, this tutorial is very clear and straightforward I love it :)
This script still alive yet ?
thanks for this video
Thanks a lot! you made my weekend...
The repo is not available
Why some stocks are above the security market line ?
How do you set the return for the risk free asset to find the tangency portfolio? I didn't see you specify that in you "spec" vector
Is there any thing equivalent in python?
Hi where I can download python script? Thank you
Thank you very much!
So good
OMG dude this is so simple and straightforward, what have i been doing with java all this time oO
I keep getting an error saying "object = 'daily' not found", this is related to the line with periodicity. Does anyone know how I can fix this?
Bro forgot the "y" in the thumbnail.
A lot of issues here
This is amazing! Thanks
Brilliant tutorial on Portfolio Optimization with R. I will highly recommend it to a beginner who would like to use it in portfolio research.
still working this script?
Does not support 'google' , I think (Line 13)
Excellent presentation keep making such good videos about dashboards in dash
Clear straight forward presentation. Perfect. Sadly my browser doesn't want me to bookmark your site for security reasons.
It is not free anymore and I was hoping someone from their team would help me decide the right plan based on my requirement. So far no luck. Its like no direct answers to my questions. Reliability is a big question.
This is so amazing wow wow wow wow thank youuuuu‼️‼️❤️
I have to say I didn't find this particular useful.
Try below code to avoid errors: library(tidyverse) library(lubridate) library(quantmod) library(PerformanceAnalytics) library(PortfolioAnalytics) tickers <- c("META","AAPL","AMZN","NFLX","GOOGL","SQ","NVDA") portfolioPrices <- NULL for (ticker in tickers) { portfolioPrices <- cbind(portfolioPrices, getSymbols.yahoo(ticker,from = "2016-01-03", periodicity = "daily", auto.assign = FALSE) ) } # use only close prices or adjust prices for portfolio portfolioReturns <- na.omit(ROC(Cl(portfolioPrices))) portf <- portfolio.spec(colnames(portfolioReturns)) portf <- add.constraint(portf, type = "weight_sum", min_sum=1, max_sum=1) portf <- add.constraint(portf, type = "box", min=.10, max=.40) # min 10% & max 40% in each asset portf <- add.objective(portf, type = "return", name = "mean") portf <- add.objective(portf, type = "risk", name = "StdDev") # make sure to add `trace = TRUE` argument to below code otherwise it will give error in efficient Frontier optPort <- optimize.portfolio(portfolioReturns, portf, optimize_method = "ROI", trace = TRUE) chart.Weights(optPort) # install packages install.packages('ROI.plugin.glpk') install.packages("ROI.plugin.quadprog") install.packages("ROI.plugin.symphony") ef <- extractEfficientFrontier(optPort, match.col = "StdDev", n.portfolios = 25, risk_aversion = NULL) chart.EfficientFrontier(ef, match.col = "StdDev", n.portfolios = 25, xlim = NULL, ylim = NULL, cex.axis = 0.8, element.color = "darkgray", main = "Efficient Frontier", RAR.text = "SR", rf = 0, tangent.line = TRUE, cex.legend = 0.8, chart.assets = TRUE, labels.assets = TRUE, pch.assets = 21, cex.assets = 0.8)
Not a good level of understanding here.
How do u take into account the variation in RFR ?
Sir, on line 11, what's the right naming on for the other file? If ever I have app2.py on the same folder? Thanks
Can someone help me? I cannot run my url. It's always buffering
I'm new to programming. Did I understand correctly that the API is not for Javascript? An API can be converted to json() in java. Is it worth signingin up to the API to find out?
Really helpful. Thanks for the videos.
Not free any more... It all started for free, like with any service
Thank you.
Using the api key in post man it shows invalid key.
i' ve seen only 5 minutes of the video and it' s enough for understanding that you are a legend.😂
Hi trying to follow along, the syntax for even downloading port info isn't working. is anyone else having this problem? is it because it is out of date or am I doing something wrong?
Could you please help me on creating dynamic drop downs from python list ?
Thanks for this man. Legend!
I solved the error problem induced by the usage of ROI argument: in my specific case, the error was: Error in maxret_opt(R = R, constraints = constraints, moments = moments, : paste0("package:", plugin) %in% search() || requireNamespace(plugin, .... is not TRUE In practice, first you have to install ROI package and then install "ROI.plugin.glpk".
I'm curious if this is still the best? Do you know if its better than finviz or alpha vantage? Especially for a UK perspective
Does it provide real time data? This information is not mentioned on the website.
Error in optimize.portfolio(portfolioreturns, portf, optimize_method = "ROI", : ROI only solves mean, var/StdDev, HHI, or sample ETL/ES/CVaR type business objectives, choose a different optimize_method.
to access fportfolio i need to install Rcurl and this just will not install for some reason
the dailyReturn code give me a error "cclRets <-dailyReturn(cclClose, type="log")" and get Error in dailyReturn(cclClose, type = "log") : could not find function "dailyReturn" what am i doing wrong?
I can't do extract efficient portfolio I tried doing exactly the same way as in the video.
Is there an endpoint for IV and option deltas?
Your website is not working. Could you please provide a link here. Thanks
where is next time?
Amazing work man. No nonsense, just to the point 👏
soooooper!!