Menu
  • Home
  • About Me
  • Blog
  • Github
  • LinkedIn

Category: Python

Oriented-Object-Programming with Example Code

June 28, 2022March 28, 2024

Oriented Object Programming combines a group of related variables and functions into unit which is called an object. We refer to these variables as properties and the functions as methods. Let’s say we create a class robot, we need to represent each different robots or entities. That’s where classes and objects come in. In python,…

Read More

Demo: Scanning Hashes with VirusTotal Public API

March 31, 2022April 14, 2022
Read More

Trading Strategies

February 8, 2022February 8, 2022

A trading strategy is a systematic methodology used for buying and selling in the securities markets. A trading strategy is based on predefined rules and criteria used when making trading decisions. Active VS. Passive trading strategies Passive Strategies (존버) – Buying bitcoin 10 years ago and just holding it until today Semi-active Strategies (Long-only Strategies)…

Read More

Measuring Reward and Risk of an Investment

February 7, 2022

Let’s load the msft.csv dataframe and make it chart: we can get some summary statistics by using this commnad: Mean return is the performance metric for the reward so we have daily mean return of 11 percent. The standard deviation of returns is the metric for the risk (volatility) which is 1.72 Calculate daily returns…

Read More

Price Changes and Financial Returns

February 7, 2022February 7, 2022

Drop the NaN value without changing the original data frame Change a column label MSFT to Price: Last day of price: Compare between two days of price: Absolute price changes are not meaningful yet, this is how we can calculate relative changes The output of percentage change: save the file to csv format:

Read More

Financial Data Analysis using Pandas

February 7, 2022

Loading Financial Data from the Web Ticker Symbol (회사를 나타내는 표식(약자)) BA: Boeing (US Stock) MSFT: Microsoft Corp (US Stock) ^DJI: Dow Jones Industrial Average (US Stock Index) EURUSD=X: Exchange Rate for Currency Pair EUR/USD (Forex) GC=F: Gold Price (Precious Metal / Commodity) BTC-USD: Bitcoin in USD (Cryptocurrency) Inspection Visualization Normalizing (정규화) Another Example Load…

Read More

How to Get Free Historical Daily Bar Data

February 3, 2022

Go to https://finance.yahoo.com In the search field, type in your desired symbol or company name and select the appropriate result Click the ‘Historical Data’ tab Set the date range to ‘MAX’ Hit the ‘Apply’ button Click the ‘Download Data’ link just below the ‘Apply’ button Enjoy your daily bar data Reference https://fxgears.com/index.php?threads/how-to-acquire-free-historical-tick-and-bar-data-for-algo-trading-and-backtesting-in-2020-stocks-forex-and-crypto-currency.1229/#post-19298

Read More

Working with Open Data Sources (Quandl)

February 2, 2022February 2, 2022

How to retrieve historical average prices for the BTC/USD exchange rate Obtains such a key by signing up for a free Quandl account on the Quandl sign up page. Data requests requiring an API key expect the key to be provided as the parameter api_key. In the example, the API key (which is found on…

Read More

SSL encrypted Jupyter Lab server Installation on Cloud (DigitalOcean)

January 31, 2022July 5, 2022

DigitalOcean is well known for low rates for smaller cloud instances which costs only 5 USD per month or 0.007 USD per hour, so I’m going to use it for about 2 hours, destroy it, and get charged just 0.014 USD. The goal of this post is to set up a Droplet on DigitralOcean that…

Read More

Python for Algorithmic Trading – Conda as a Package Manager in Docker (2)

January 31, 2022

Python for Algorithmic Trading (1) Docker Container This section goes into the details of what the docker technology can do in the context of Python deployment. Building a Ubuntu and Python Docker Image This dockerfile control the building procedure for the image itself. The Bash script in below will be installing three parts: Linux housekeeping…

Read More
  • 1
  • 2
  • Next
Recent Posts
  • ChinguTalkBot v0.1.0: Setting up AWS Cognito with CDK for User Authentication
  • Phoenix & Elixir: Fix PostgreSQL connection refused
  • Demo: Git Log with Shell script to create a release notes
  • Metasploit
  • CyberSecurity Lab – Online Password Attack

Archives
  • March 2024
  • May 2023
  • April 2023
  • February 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
Categories
  • Amazon Interview (3)
  • Ansible (3)
  • AWS (9)
  • Azure (9)
  • Certification (2)
  • ChinguTalkBot Project (1)
  • cybersecurity (3)
  • Data analytics (6)
  • Demo Videos (6)
  • Docker (5)
  • Git (1)
  • GitLab (1)
  • Golang (3)
  • JavaScript (2)
  • Jenkins (4)
  • PowerShell (1)
  • Python (10)
  • Terraform (11)
  • Uncategorized (9)

©2025 | Powered by WordPress and Superb Themes!