A fast and minimalist front end for trading cryptos on the FTX Exchange.
The FTX Exchange is a great venue for trading all kinds of crypto assets and derivatives. However the FTX web interface is a bit unadapted to the day-trading workflow. For example it lacks a unified view where assets can be quickly traded and trade orders require many clicks to setup. It is also difficult to monitor coin positions and pnl in real time and there is no price alerting functionality.
All this ultimately gets in the way of the trading workflow and decision making.
This project aims to fix those drawbacks by providing an alternative front end which focuses on fast order placement, order management, real time position monitoring and intuitive price alerting functionalities - all in one view.
A demo version of this app is available in the demo
branch. We recommend first time users to try that version first before trying the full-featured version. The demo app is simpler and safer to use as order executions are disabled and it does not require an FTX account and API key.
To use it simply checkout the demo
branch and follow the instructions in the README doc.
1. Clone the project and run npm install
(this will to download the libraries defined in FTXTrader/package.json):
git clone https://github.com/jule64/FTXTrader.git
cd FTXTrader
npm install
cd ./apikeys
touch apikeys.json
Api keys format:
{
"key": "your-ftx-public-key",
"secret": "your-ftx-secret-key"
}
Save the file and you are ready to start the app.
node App.js
Once started head over to http://localhost:5001/
on your browser to access the app.
If you want your account balance correctly displayed in the app you need to add your balance in the appData.json
file against the totalFunding
variable:
./resources/appData.json
Note the totalFunding
variable is zero by default: "totalFunding": 0
The app runs on Nodejs with a light weight html front end. It uses tiagosiebler's FTX Api library for the the realtime prices and account operations with the FTX Exchange.
The client-backend communication is done over socket.io
This app is my personal project and is not affiliated with the FTX Exchange.
I use this app daily to trade on the FTX exchange BUT I make no guaranty as to it's safety for YOUR trading!
Note also that this code is constantly changing and can be buggy! So if you are considering using this app for your own trading make sure you first understand the code and the risks before attempting any trading with it.
- cleaner Front end with a FTX-like color theme
- added account balances section at the top of the app
- flashing alerts: as well as the sound effect from v1 now the ticker cells flash red or green on alerts
- intelligent alerting: The alerts automatically stop flashing and stop play sound when the price crosses the alert threshold back in the non-alert price zone
- single position balance updates: update a given position immediately after order is successfully executed
- added a Coins column in main table to display positions in coins next to usd-equivalent positions
- new "Add ticker" input box: add a new ticker to the main table. note the tickers are not yet persistent so they disappear from the main table on app restart (persistence to be added in next version of the app)
(v1.1 screenshot)
- display real time prices and volumes from the exchange
- place market orders
- position display
- alert setup with sound effects
(v1 screenshot)