I hereby claim:
- I am jonparker on github.
- I am jonpaus (https://keybase.io/jonpaus) on keybase.
- I have a public key ASBGdzsk2v1m_aPnb-CttpSceobBZtTm3iAaxVeM9CFhYAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Gets GDAX and Poloniex prices for BTC/ETH and BTC/LTC | |
// Requies arbitrageSheetID set to the id of a google sheet with an APIPull tab. | |
function checkArbitrageOpportunities() { | |
var poloniexUrl = 'https://poloniex.com/public?command=returnTicker'; | |
var poloniexResponse = UrlFetchApp.fetch(poloniexUrl); | |
var poloniexApiData = JSON.parse(poloniexResponse.getContentText()); | |
var rates = ['ETH', 'LTC']; | |
// Updates the A2 cell of the APIPull tab of the given Google | |
// sheet with the corresponding rate pulled from Poloniex. | |
// The Google sheet ID is in the URL. E.g.: | |
// https://docs.google.com/spreadsheets/d/**this part of the url is the Sheet id***/edit#gid=685386329 | |
function fetchTicker() { | |
var rates = [{ RATE: 'BTC_XRP', SheetID: 'your google sheet id for XRP'}, | |
{ RATE: 'BTC_ETH', SheetID: 'your google sheet id for ETH' }, | |
{ RATE: 'BTC_LTC', SheetID: 'your google sheet id for LTC' } | |
]; |
try { | |
# Boxstarter options | |
$Boxstarter.RebootOk=$true # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
####################### | |
# Basic windows config | |
####################### |
######################### | |
# .gitignore file for Xcode4 / OS X Source projects | |
# | |
# Version 2.0 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# | |
# 2013 updates: | |
# - fixed the broken "save personal Schemes" | |
# | |
# NB: if you are storing "built" products, this WILL NOT WORK, |