Skip to content

Instantly share code, notes, and snippets.

View JacobPlaster's full-sized avatar

Jacob Plaster JacobPlaster

View GitHub Profile

Download

go get github.com/MatrixAINetwork/go-matrix

Build from source

 cd go/src/github.com/MatrixAINetwork/go-matrix
@JacobPlaster
JacobPlaster / rest_open_cancel_order.js
Last active March 24, 2020 15:20
Tests the delay between opening and reading an order via the Bitfinex REST api
'use strict'
/**
* DISCLAIMER: this script creates an order (price: 500, symbol: BTCUSD, amount: 0.001)
* please run at your own risk.
* TO RUN:
* $ export API_KEY={YOUR_API_KEY}
* $ export API_SECRET={YOUR_API_SECRET}
* $ npm install bitfinex-api-node
* $ node rest_open_cancel_order.js
@JacobPlaster
JacobPlaster / committee-node-tut.md
Last active March 26, 2020 17:31
Starkware committee node

Clone repo

git clone https://github.com/starkware-libs/starkex-resources
./build.sh
cd build/Release/committee

Generate TLS certs

Keybase proof

I hereby claim:

  • I am jacobplaster on github.
  • I am jacobplaster (https://keybase.io/jacobplaster) on keybase.
  • I have a public key ASCrt0qNT8ln1DeAiTOKIO5YUYJGFM8oYg66NNm63zTSOgo

To claim this, I am signing this object:

@JacobPlaster
JacobPlaster / sen-setup.md
Last active September 9, 2019 10:22
Install sen coin node

Download linux node binaries

wget https://s3.us-east-2.amazonaws.com/consensus-ai-releases/sentient-network-tools/sentient-network-tools-linux-amd64.zip

Unzip:

sudo apt-get install unzip
@JacobPlaster
JacobPlaster / cosmos-setup.md
Created April 22, 2019 23:47
Setup cosmos node

Setup cosmos mainnet node on Ubuntu

Install go

curl -O https://storage.googleapis.com/golang/go1.12.4.linux-amd64.tar.gz
tar -xvf go1.12.4.linux-amd64.tar.gz   
mv go /usr/local/go

sudo apt install make
@JacobPlaster
JacobPlaster / cardano-install.md
Last active March 6, 2022 00:51
Install cardano node on Linux

Install Cardano

Download source code

git clone https://github.com/input-output-hk/cardano-sl.git   
cd cardano-sl
git checkout master

Pull callisto node

go get github.com/EthereumCommonwealth/go-callisto
cd $GOPATH/src/github.com/EthereumCommonwealth/go-callisto

build

@JacobPlaster
JacobPlaster / bfx_go_client_tutorial.md
Created January 30, 2019 13:01
bfx_go_client_tutorial

Tutorial: Trading cryptos on the Bitfinex platform using Golang

Our Golang client is one of our most popular open source projects with over 350 forks/stars on Github. But why Go? Well, it is a seriously quick compiled programming language with great support for concurrency making it perfect for trading.

So what does the Bitfinex Golang client do? Well its a library created by the bitfinex team to help programmers interact with the Bitfinex websocket and rest interface. The lib offers tons of functionaity including creating new trades, managing existing orders, retrieving historical data and a lot more. You can find the client on girhub here: https://github.com/bitfinexcom/bitfinex-api-go

In this tutorial we are going to pull the bitfinex-api-go library, subscribe to new price updates and then begin making trades on the BTC/USD trading pair using the client websocket. We will also explore historical data using the rest interface.

Installing the client

@JacobPlaster
JacobPlaster / bfx_hf_py_tutorial_create_strat.md
Created January 30, 2019 12:59
bfx_hf_py_tutorial_create_strat

Tutorial: creating a crypto trading strategy using the Python HoneyFramework

Algorithmic trading has gained a lot of popularity in the world of crypto currencies and now with the all new Python edition of the Honey Framework it is a easy as ever to create your own alo strategy.

So what is the HoneyFramework? Its a Python/NodeJs library which is the scaffolding to your algo trading strategy. The framework provides many features such as the ability to add pre-made/custom indicators, complex position management, real-time data feeds, multiple back-testing modes and a lot more.

In this tutorial we are going to use the Python HoneyFramework to create a simple trading strategy and perform both an offline and a live back-test. Brief disclaimer, this trading strategy is purely for educational purposes and is not advice on how to create a live profitable strategy.

Installing the dependancies