goto line : <nr>
end of line GA
start of file gg
end of file G
venv/ |
" see tutorial on https://realpython.com/vim-and-python-a-match-made-in-heaven/ | |
set encoding=utf-8 | |
set nocompatible " required | |
filetype off " required | |
"show line numbers | |
set nu |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import time | |
import os | |
import multiprocessing | |
import numpy as np | |
# The next command will install a [raring] based ubuntu | |
# chroot, named [cinnamon] into the default directory | |
# with the targets [core], [cli-extra], [touch], and [keyboard] | |
sudo crouton -n cinnamon -r raring -t core,cli-extra,touch,keyboard | |
# Supply your new username and password like normal, and | |
# once that finishes, enter the chroot with: | |
sudo enter-chroot -n cinnamon |
# Gist example of IB wrapper ... | |
# | |
# Download API from http://interactivebrokers.github.io/# | |
# | |
# Install python API code /IBJts/source/pythonclient $ python3 setup.py install | |
# | |
# Note: The test cases, and the documentation refer to a python package called IBApi, | |
# but the actual package is called ibapi. Go figure. | |
# | |
# Get the latest version of the gateway: |
$ git reset --hard
# -*- coding: utf-8 -*- | |
""" | |
Script to get historic data for data subfolders | |
""" | |
from tradingWithPython.lib.csvDatabase import HistDataCsv | |
from tradingWithPython.lib.interactiveBrokers.helpers import createContract |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jul 17 10:50:56 2013 | |
@author: cmarshall | |
""" | |
import sip | |
sip.setapi('QString', 1) | |
sip.setapi('QVariant', 1) |