This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Collection:LedMasterColl] | |
Type:Ledger | |
Fetch:Name,Parent,Address,LedStateName,CountryofResidence,PartyGSTIN | |
[Collection:LedMastersPost] | |
Data Source:HTTP JSON:"http://127.0.0.1:5000/Ledgers/Add" | |
RemoteRequest:LedMasters:UTF8 | |
[#Menu:GatewayOfTally] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" plugins | |
let need_to_install_plugins = 0 | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
let need_to_install_plugins = 1 | |
endif | |
call plug#begin() | |
Plug 'tpope/vim-sensible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ibapi.wrapper import EWrapper | |
from ibapi.client import EClient | |
from ibapi.utils import iswrapper | |
from ibapi.order import Order | |
from ibapi.common import * | |
from ibapi.contract import * | |
from ibapi.ticktype import * | |
from threading import Thread | |
import datetime | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import matplotlib as _mpl | |
import matplotlib.pyplot as _plt | |
from mpl_toolkits.mplot3d import Axes3D as _Axes3D | |
import numpy as _np | |
import pandas as _pd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This will show you the size of post, revision, attachment and other fields in `wp_posts` | |
-- this method can be applied to any WordPress table to get a breakdown of clutter and data use | |
-- this will not get you index size, but WP indexes are typically a small fraction of overall table size | |
SELECT post_type | |
COUNT(*) AS NUM, -- adds a column with the number of rows for each key value for comparison | |
SELECT post_type, COUNT(*) AS NUM, | |
(SUM(LENGTH(ID) -- add all column data together to group the total row data by post_type | |
+LENGTH(post_author) | |
+LENGTH(post_date) | |
+LENGTH(post_date_gmt) |
This is the Gist the For Python Quants Bootcamp in London 24. November 2017 (http://fpq.io)
This fourth boocamp day is about Python for Algorithmic Trading (II).
Topics
This is the Gist the For Python Quants Bootcamp in London 23. November 2017 (http://fpq.io)
This third boocamp day is about Python for Algorithmic Trading (I).
Topics
NewerOlder