Tradingview: slices of Bitcoin indicator

My second indicator in this series is Slices of Bitcoin, a very simple indicator that shows how many times a currency fits into Bitcoin. Here is the source code. In other words, the higher the value of indicator, the weaker the currency against Bitcoin. You can easily see that since the beginning of 2019 Stellar Lumen (XLM) lost half of its BTC value while the USD value was constant. Trade short and prosper! [Read More]

Ruby library for Deribit API

I just want to introduce the new open-source Ruby library for Deribit API. Here is a short intro, for more information please check the source code repo and documentation. Installation gem install deribit-api Successfully installed deribit-api-0.1.2 1 gem installed Usage require 'deribit-api' client = Deribit::Client.new Get last 3 option trades via HTTP API: trades = client.trades 'options', count: 3 trades.first.instrument BTC-10MAY19-5500-P Stream ongoing trades via Websocket API: [Read More]

Tradingview: weekly/monthly close indicator

I’ve decided to release a few personal indicators that I use in day by day trading and here is the first one: Weekly/Monthly close. Here is the the source code if you want to dig more into it. It’s a simple support/resistance indicator that overlays last week/month’s close price and can be configured in two modes: tracking mode - to display last week/month’s close as a single price line (1st image) history mode - to display all weekly/monthly history close prices (2nd image) Close prices are great deal to me, especially on higher timeframes and I see the price bouncing off these close lines again and again. [Read More]

Idiomatic Ruby library for BitMEX API

Fully featured, idiomatic Ruby library for BitMEX API. Support for both REST and Websocket APIs as described in API Overview. Installation gem install bitmex-api Usage Listen for live trades in 3 lines of code: # Importing library... 2.5.3 :001 > require 'bitmex-api' => true # Create client... 2.5.3 :002 > client = Bitmex::Client.new => #<Bitmex::Client:0x00007fae7a569598 @host="www.bitmex.com", @api_key=nil, @api_secret=nil> # Spit out live trades as they happen... 2.5.3 :003 > client. [Read More]