User | Question | Answer |
---|---|---|
Luis | Is there a token of go and how can i buy? | |
Kally | Will there be a ICO for GO.exchange, or will it have a native token? | |
Do all your jobs require relocating? | ||
ethman | Hi @GOExchange , Ive been a big fan of OMG from the beggining but just wanting some clarity from the recent blog post from Jun, will transaction volume from go.exchange eventally provide fees for OMG token holders? | |
Dan F | Is go.exchange in cahoots with the Thailand government regarding the recent "legalization" of BTC, BCH, XLM, and ripple? | |
When Go.Exchange launchpad for ICO's and STO's | ||
RD3596 | When can we start trading? Will OMG be the gas for GO exchange? | |
Bharath Rao | what is the relationship between GO and OMG? |
omg-pos-merchant | |
Notes for pos merchant | |
Xcode 10.1 / High Sierra 10.13.6 | |
First Build: | |
/.../pos-merchant-ios-master/Pods/Target Support Files/Pods-POSMerchant/Pods-POSMerchant.debug.xcconfig: unable to open file (in target "POSMerchant" in project "POSMerchant") (in target 'POSMerchant') |
Access to Ameritrade API
notes that may be helpful for node.js devs
What I've gathered is authorization tokens must be earned first. Authorization tokens are good for three months, once you are setup, you will get two tokens which come as long strings, An access_token and a refresh_token. Access tokens are only valid for 30 minutes so you will need to code to refresh the session using the refresh token frequently. When you refresh, you are given a new access token and that is what you use to "login" or pull from the api for the next period. But in order to get the tokens, you will be required to go through some processes to get a valid token that applies to your app. The following text kind of steers you in that direction...
Making an app
On the api site you will need to make an app, where you pick some random name by using some random numbers. It should be automatically generated but it isnt. For this field item, I simply went to https://www.uuidgenerator.net/ and just grabbed the firs
ticker:function(pair, cb){ | |
const time = new Date().getTime(); | |
if (time - lastTickerTime > 2000 ) { | |
// console.log("Get Ticker" + pair); | |
if (logAllApiCalls){ | |
console.log(apiCallsCount + " ticker.binance.prices: " + pair + " - " + Date.now()); | |
apiCallsCount += 1; | |
} |
let db = require('./dbaccess'); | |
let utilities = require('./utilities'); | |
let binance = require('./binance'); | |
let chalk = require('chalk'); | |
// manage tokens | |
// manage balances | |
// delegate profits, fees and taxes | |
// the token cycle is the process of buying, selling and delegating the costs associated |
module.exports = { | |
EMA: function(originalArray, emaLength) { | |
let array = originalArray.slice().reverse(); // easier on my limited brain to think of the array in the "proper" order | |
// trim initial NaN values | |
let iPos = 0; | |
for (iPos = 0; iPos < array.length && isNaN(array[iPos]); iPos++) { | |
} | |
array = array.slice(iPos);// trim initial NaN values from array | |
let ema = []; |
// again, thirty second code here, bugs and needs factoring ensue | |
toBtx: function(string){ | |
// bittrex likes all caps | |
// btx also likes btc, usdt, or eth at the beginning | |
let raw = String(string).toUpperCase(); | |
let raw2 = ""; | |
if (raw.includes("BTC")){ |
// returns a string that is formatted for search indexes | |
toFormat: function(raw){ | |
// reality here is that the query should find both ways | |
raw = String(raw); | |
raw = raw.replace(/ /g, ''); | |
raw = raw.replace(/_/g, ''); // liqui | |
raw = raw.replace(/\//g, ''); | |
// assert string |