Skip to content

Instantly share code, notes, and snippets.

Vishal Belsare vishalbelsare

Block or report user

Report or block vishalbelsare

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vishalbelsare
vishalbelsare / stock_price_autoencoding.ipynb
Created May 14, 2020 — forked from GerardBCN/stock_price_autoencoding.ipynb
Stock market Bitcoin data compression with autoencoders
View stock_price_autoencoding.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalbelsare
vishalbelsare / almgren_chriss.py
Created Jan 22, 2020 — forked from flipdazed/almgren_chriss.py
Linear Almgren-Chriss python model
View almgren_chriss.py
import numba as nb
import numpy as np
def impact_perm(nu, gamma, beta):
"""Returns the permenant dollar price impact per unit time
In paper as :math:`g(\nu)`
Args:
View to-rebalance-or-not-11-02-2019.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalbelsare
vishalbelsare / my-python-config.el
Created Sep 22, 2019
Elpy and conda for a complete python config with Anaconda Python Distribution (handles virtualenvs including python process)
View my-python-config.el
;; See my explanation of this config here: https://github.com/jorgenschaefer/elpy/issues/1087
(provide 'my-python-config)
(require 'python)
;;; NOTE: PATH environment var must have your path to Anaconda
;;; environment, e.g., ~/anaconda/bin, as the last thing for
;;; everything else below to work.
;;; [[file:~/Encrypted/org-mode-repo/OrgModeFiles/howto-python.org]]
;;; explains how to work with Anaconda virtual envs and Emacs.
@vishalbelsare
vishalbelsare / factor_analysis.py
Created Sep 22, 2019 — forked from analyticd/factor_analysis.py
simple factor analysis using python/pandas
View factor_analysis.py
# basic factor analysis
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/
import pandas as pd
import pandas.io.data as web
import datetime, re, copy
import numpy as np
import statsmodels.formula.api as sm
start = datetime.date(2000,1,1)
@vishalbelsare
vishalbelsare / factor_analysis.py
Created Sep 22, 2019 — forked from schalekamp/factor_analysis.py
simple factor analysis using python/pandas
View factor_analysis.py
# basic factor analysis
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/
import pandas as pd
import pandas.io.data as web
import datetime, re, copy
import numpy as np
import statsmodels.formula.api as sm
start = datetime.date(2000,1,1)
@vishalbelsare
vishalbelsare / org-style.css
Created Aug 26, 2019 — forked from mowen/org-style.css
A stylesheet for the Emacs Org Mode HTML export
View org-style.css
/**
* This stylesheet will work pretty well with a regular Org Mode HTML export.
* However, you do have to turn off all of the defaults:
*
* (setq org-export-html-style-include-scripts nil
* org-export-html-style-include-default nil)
*
* and insert a call to the stylesheet:
*
* (setq org-export-html-style
View keybase.md

Keybase proof

I hereby claim:

  • I am vishalbelsare on github.
  • I am vishalbelsare (https://keybase.io/vishalbelsare) on keybase.
  • I have a public key ASDEg5L-Eo5m8SpYQqeE1YUQ6ZJSw0ecVCNOD1dKKKtqLAo
View gnome-tracker-disable.md

Disabling GNOME Tracker and Other Info

GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/

After discovering it chowing 2 cores, I decided to go about disabling it.

Directories

View python-settings.el
;;; package --- Python Programming ;;;
;;; Commentary:
;;; Code:
; don't show the startup screen
(setq inhibit-startup-screen t)
; don't show the menu bar
(menu-bar-mode nil)
You can’t perform that action at this time.