Skip to content

Script for trading ETH/BTC on the FTX exchange

Notifications You must be signed in to change notification settings

ltrgoddard/ethbtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ethbtc

This simple Deno script makes it easy to trade ETH/BTC using the FTX leveraged tokens ETHBULL (3x long ETH) and BEAR (3x short BTC).

Prerequisites

Install Deno and fill in the example .env file with your FTX API credentials.

Buying or selling ETH/BTC

After the 'trade' keyword, provide a side of the market to take and a dollar value.

./ethbtc trade buy 10 ./ethbtc trade sell 10

Rebalancing portfolio

This keyword automatically rebalances your portfolio between ETHBULL and BEAR, equalising their dollar value.

./ethbtc balance

About

Script for trading ETH/BTC on the FTX exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published