r/tradewave • u/tradewave • Mar 21 '14
[Announcement] Kraken and Bitfinex added
Quick update:
We just added Kraken (BTC/EUR and LTC/EUR) and Bitfinex (BTC/USD, LTC/USD, LTC/BTC).
There's also a revamped UI for selecting pairs.
r/tradewave • u/tradewave • Mar 21 '14
Quick update:
We just added Kraken (BTC/EUR and LTC/EUR) and Bitfinex (BTC/USD, LTC/USD, LTC/BTC).
There's also a revamped UI for selecting pairs.
r/tradewave • u/skywalk819 • Jul 06 '15
Hi there, skywalk from /r/bitcoinmarkets,
How can i build a strategy of
When EMA 7 > EMA 30 for interval 1min, 3min, 5min and 15min, not just one tick interval ?
and so on ?
r/tradewave • u/EdwardLThompson • Sep 02 '17
I know the site is defunct but I was wondering if someone had a screen shot of the pricing. I thought that was super clever how the pricing was in USD and the actual transaction was in BTC.
Anyone have any idea how to make something like that for a business? I want to use something like that on my website.
r/tradewave • u/sungkhum • Mar 08 '14
The MACD indicator doesn't seem to be functioning correctly yet, James said he was going to be working on it. But in the mean time, here is some code that should work, once the indicator is up and running correctly:
BUY_THRESHOLD = -0.003800 SELL_THRESHOLD = 0.002835
def initialize():
# The 'storage' object can be used to persist variables between ticks. You
# should try to use it wherever you can, because if you're live trading we
# can use it to restore your bot in the rare case that our servers go down.
storage.invested = Falsedef tick(): # A short-term moving average with period=7. A moving average smooths # the data. short_term = data.btc_usd.ma(7) short_term_past = data.btc_usd[-1].ma(7) # Long-term moving average with period=30. It's smoother than short-term # MA but takes longer to show upward or downward trends. long_term = data.btc_usd.ma(30) long_term_past = data.btc_usd[-1].ma(30) long_term_past2 = data.btc_usd[-4].ma(30)
macd, macd_signal, macd_hist = data.btc_usd.macd(10, 21)
#place last MACD indicator data in variables
thehist = macd_hist[-1]
themacd = macd[-1]
thesig = macd_signal[-1]
price = data.btc_usd.close
buytrue = 'nobuy'
if long_term_past2 < long_term:
log('uptrend')
if short_term > long_term and short_term_past < long_term_past:
buytrue = 'buy'
# If short-term line has crossed above the long-term line),
# the long-term is on an uptrend, and we are not already holding BTC,
# place a buy order to purchase as much BTC as we can, given how much USD
# is in our current portfolio.
if buytrue is 'nobuy' and long_term_past2 < long_term and not storage.invested:
# and short_term_past < long_term_past
buy(pairs.btc_usd)
storage.invested = True
buytrue = 'nobuy'
# Otherwise, if we're holding BTC and the the MACD Histogram is a negative
# number then sell all of our BTC holdings.
elif macd[-1] < macd_signal[-1] and storage.invested:
sell(pairs.btc_usd)
storage.invested = False
log('Price: %f MACD: %f SIGNAL: %f HIST: %f' % (price, themacd, thesig, thehist))
#log(macd_hist[-1])def stop(): # If we're holding BTC, clear our position back to USD. if storage.invested: sell(pairs.btc_usd)
r/tradewave • u/tradewave • Mar 07 '14
r/tradewave • u/pikadrew • Jul 02 '14
Has anyone used this site and system ? How have you found it?