Build simple trading code


I'm a small bitcoin trader who would like to automate his trading strategies. I don't know what would be the best or easiest way to achieve this, but I am comfortable with computers and some coding, and I'm hoping you can help me.

This is a project that aims to build a first working version of an automatic trading program that operates on cryptocurrency exchanges using what is called “REST API”. There appear to be different versions of API for different exchanges and perhaps even for the same exchange (?).

The first version is only required to perform very basic functions, does not require an interface and I expect can be finished in 30 minutes to 5 hours depending on your skills/familiarity.

If the work is delivered satisfactorily, you may be hired to work on expanding the code to include more features, as well as updating the code to reflect changes in rules and operations of the exchanges. Pay may increase if you are skilled.

You may use the programming language of your choice and there are libraries and sample codes available on e.g. Github that claim to perform very similar tasks and are possibly of help to you in this project. I don’t care if it works through a browser, as a standalone program or something else – as long as I can run it on a Windows 10 machine.

It is your task to educate me how to use your code, and I should be able to alter the code myself without needing to install expensive software. I am somewhat familiar with Java and very familiar with MATLAB, Stata and MS Excel. Integration with any of those is a plus but is definitely not required.

Program/Code Desired Functionalities

• Collect and store the 3 highest bid prices and 3 lowest ask prices every second, along with the volumes and actual trades (prices + volume) on BTC/USD for 1 minute on 1 exchange (preferably Bittrex); the data should be generated in or easily exportable to any standard format such as .csv, and should also be usable for trading rules (see below).

• Trade automatically BTC/USD on 1 exchange based on the last 5 price moves.

o Define midquote = (highest bid price + lowest ask price)/2.

o Define a price move as a change in the midquote. Since the program is collecting data on a second-to-second basis, at most 1 change can occur every second.

o Define USD balance as the amount of USD I am holding minus the amount of USD I am trying to sell in the market (measured by active limit orders). This may or may not be automatically delivered by the exchange.

o If the last 5 price moves are all in the same direction and with a total move of at least xx, put in a limit order that bets the price will keep moving in the same direction (bid if going up, ask if going down). Open a new long position (long BTC, short USD) with an amount that is dependent on the balances I have; Open $1 worth of positions if the USD balance is above $5, and 10% of remaining USD balance otherwise. Similarly, open a new short position worth $1 when the BTC balance is above $5 and 10% of remaining BTC balance when the remaining BTC balance is between $0-5. Use the midquote to compute BTC balance in USD.

 The limit order should be one tick closer to the bid (ask) when submitting a buy (sell) order compared to the prevailing ask (bid). A tick is a minimum price increment, for example 0.01 when prices are quoted as 7059.43

I can provide an outline of the desired code if the above is unclear, such as "IF pricemove[-1] > 0 AND pricemove[-2] > 0 AND [...] , THEN BUYLIMIT(market = BTC-USDT, rate = bestbid + tick, quantity = 1)".

There is no need for a user interface at this point. Just tell me where to adjust values in the code if I want to change (say) 1 minute to 1 hour in the data collection process, and how to start and stop the code.

Important: To weed out spam, after greeting me, start your response with the words I am R34l. Thank you for being one of the people who actually read to the end of this job description.

Készségek: Kódolás, Szoftverarchitektúra, Szoftver fejlesztés

Bővebben: simple alphanumeric code, build simple php questionnaire, simple macro code extract worksheet names, simple exe code, complete simple htmljavascripts code calculator, build exe source code, simple blackjack code, build simple mp3 player, simple sidebar code, simple iframe code, simple php code sign form, simple chess code, build simple touch screen glass, build simple web page header, simple asp code

A munkaadóról:
( 0 értékelés ) Waterloo, Canada

Projektazonosító: #16650604

21 szabadúszó tett átlagosan $27/óra árajánlatot erre a munkára


Hello, I am interested in handling your project and doing it. Let us have a discussion about it. Regards, Iyad

$66 CAD / óra
(20 vélemény)

I am R34l Hi, Good to see such a detailed explanation of what you need and I appreciate you being honest about you not sure how this should be precisely achieved. I don't know about cryptocurrencies and bitcoin but Több

$25 CAD / óra
(35 vélemény)

Hi dear Here is a strong experienced Android/iOS expert I have been developing Android/iOS apps since 2010 and now I have expert skill in this side During this time, I have built lots of apps Please check my rece Több

$35 CAD / óra
(10 vélemény)

Greetings for the day! I am R34l Being expertise in the development of CryptoCurrency platforms and its technical aspects, we would like to support you. We have already developed these kinds of websites and we hope Több

$20 CAD / óra
(26 vélemény)

Hello, I have carefully read your job description I find myself best fit to do this job. I am having experience working on the Decentralized financial Trading & Exchange platforms on IOS, Android and web application Több

$20 CAD / óra
(2 vélemény)

Dear Client, Greetings.! We are synapse and we deal with website and mobile development, As per my understanding you want an automatic trading program that operates on cryptocurrency exchanges using what is calle Több

$22 CAD / óra
(1 Visszajelzés)
$22 CAD / óra
(7 vélemény)

I am R34l Hi, Thanks for posting your requirement. I am really interested in this project as I am a bitcoin trader myself. Also, I have experience working on application that can fetch data from exchanges lik Több

$22 CAD / óra
(7 vélemény)

Hello, My name is Michael Butar butar, I am from Indonesia. I found your vacancy for a Web Developer and I’m very interested in your vacancy. As a skilled Web / Database / Mobile Apps Programmer professional with expe Több

$22 CAD / óra
(1 Visszajelzés)

I am R34l. Hi. That's my first bid here. Actually I decided to register on this site when I saw the project. Well several days ago I started to work on my personal trading bot (I'm trading on [login to view URL]). Right Több

$16 CAD / óra
(2 vélemény)

Greetings, We are colonist services providers from India for Cryptocurrency development, Crypto exchanges,Crypto wallets, Mining platform apps, Exchange platforms and other types of Blockchain based development.  Több

$25 CAD / óra
(1 Visszajelzés)

Hi, Thank you for posting the project. I think that my company it is a perfect fit for this project. You will not be dealing with a solo developer that can disappear in the middle of the project. We will deliver Több

$22 CAD / óra
(5 vélemény)

I am R34l. Hi, I have many crypto projects on Bittrex, Binance, Gdax, . . . before so I know these APIs well. I could develop a Windows .NET C# console app and share well commented source code I would cut this Több

$73 CAD / óra
(4 vélemény)

Hey there, I am very much experienced in this task, I can do this job definitely. I have previously 1 bot for binance, 1 bot for bitfinex, 1 bot for arbitrage between bitfinex and binance. And yet, another auto trading Több

$20 CAD / óra
(4 vélemény)

I am R34I. Hello! I haven’t done any projects on Freelancer yet, but I seen your project and had to put a bid in! A little background on myself would be that I have been a professional Java developer for 8yrs building Több

$24 CAD / óra
(0 vélemény)

hi I am R34l will it only ever be for bitcoin or other trade options?

$15 CAD / óra
(0 vélemény)

Hello, Greetings! My name is Obaid, I'm an IT consultant at Mobiloitte. I'm responsible for discussing the job details. I carefully read your requirement and I confidently say your requirement is completely inline t Több

$22 CAD / óra
(0 vélemény)

I am an blockchain+crypto+ethereum developer and I can develop your project. I have worked with ERC20 tokens, wallets, Raiden, etc and can handle your project with ease. Worked with ERC20 tokens, wallets, Raiden, M Több

$22 CAD / óra
(0 vélemény)

I am interested. I have already experience in sharekhan autotrading. please start chat with me.

$22 CAD / óra
(0 vélemény)

A proposal has not yet been provided

$22 CAD / óra
(0 vélemény)