Completed

Simple Trading Stategy Connect to Bitfinex API

I have a simple channel based trading strategy that is currently written for [login to view URL] which I'd like to convert to connect to the Bitfinex API to make trades. Perhaps it can be a simple java app since the API accepts java but I'm open to all suggestions.

1. Convert current code to work with the API [ [login to view URL] ]

2. Connect trading signals to the API to open, close, modify (add stop loss) trades

[login to view URL] the functionality to run the strategy on 5 trading symbols concurrently and the ability to change which currencies are traded (even if it is just modifying the symbol name in the code)

Code written in tradingviews "PINE" language, uses the upper and lower lines of the keltner channel indicator to open and close trades (Keltner Channel Strategy, publicly available on tradingview):

//@version=3

strategy("Keltner Channel Strategy", overlay=true)

source = close

useTrueRange = input(true)

length = input(20, minval=1)

mult = input(1.0)

ma = sma(source, length)

range = useTrueRange ? tr : high - low

rangema = sma(range, length)

upper = ma + rangema * mult

lower = ma - rangema * mult

crossUpper = crossover(source, upper)

crossLower = crossunder(source, lower)

bprice = 0.0

bprice := crossUpper ? high+[login to view URL] : nz(bprice[1])

sprice = 0.0

sprice := crossLower ? low [login to view URL] : nz(sprice[1])

crossBcond = false

crossBcond := crossUpper ? true

: na(crossBcond[1]) ? false : crossBcond[1]

crossScond = false

crossScond := crossLower ? true

: na(crossScond[1]) ? false : crossScond[1]

cancelBcond = crossBcond and (source < ma or high >= bprice )

cancelScond = crossScond and (source > ma or low <= sprice )

if (cancelBcond)

[login to view URL]("KltChLE")

if (crossUpper)

[login to view URL]("KltChLE", [login to view URL], stop=sprice, comment="KltChLE")

if (cancelScond)

[login to view URL]("KltChSE")

if (crossLower)

[login to view URL]("KltChSE", [login to view URL], stop=bprice, comment="KltChSE")

//plot([login to view URL], title="equity", color=red, linewidth=2, style=areabr)

Skills: Bitcoin, C++ Programming, Java, Python

See more: how to make a bitcoin trading bot, bitcoin trading bot python, crypto trading bot python, gdax trading bot python, bitfinex trading bot, poloniex trading bot python, python cryptocurrency trading, python trading bot tutorial, connect database api, simple trading card game java program, php connect godaddy api, connect amazon api, facebook connect php api login form javascript, connect javascript api, connect amazon api listing ebay, connect ebay api joomla, connect enoms api, connect paypal api website, connect twitter api update status javascript, simple console application connect edit access files

About the Employer:
( 27 reviews ) pembroke pines, United States

Project ID: #17941717

Awarded to:

cbr184

Hi, I'm looking for my first few jobs to get my freelance profile started. For the past 2 yrs + I have been working for financial companies and mainly I have been developing various FX trading "roboTraders" as a way t More

$166 USD in 3 days
(0 Reviews)
0.0

8 freelancers are bidding on average $155 for this job

mingxiao2008

Hello , Dear How are you? I am very interested in your project and am ready for discussing with you about project for now. I have experienced in Bitcoin, C++ Programming, Java, Python. Best Regards

$166 USD in 10 days
(60 Reviews)
7.7
DevStar925

Hi, I ready your full description and I am interested in your project. As you can see my profile, I have top skills of automated trading software for cryptocurrency, forex as well as stock. I have experiences of Meta More

$150 USD in 3 days
(20 Reviews)
5.5
leemilun

Hi, dear. nice to meet you. i've read your post carefully. We could discuss mroe details by chatting. regards. Gao M.

$166 USD in 10 days
(28 Reviews)
5.6
KGeorgy

Hello, I am pleasure with your job for Simple Trading Stategy Connect to Bitfinex API. Thank you for the job posting. It’s a pleasure to meet you. I’d really like to work with you on this one if possible! I do have More

$166 USD in 10 days
(4 Reviews)
3.3
numberten1992

Hello I have vast knowledge on the topic which can help me get the work done perfectly and on time. i am looking forward to working with you. Regards, Evans

$100 USD in 10 days
(1 Review)
0.8
nubelo_7CmASMDB

Hello! I am working in a trading system for argentinian stocks... it Will ve great if se work together

$166 USD in 8 days
(0 Reviews)
0.0
HelloLeon

I am a experienced Java Developer with other programming language knowledge. Would love to have a chat with you about the project. Check out my profile at [login to view URL] Thanks

$161 USD in 10 days
(0 Reviews)
0.0