Find Jobs
Hire Freelancers

Python code to trade cryptocurrencies using APIs in bitfinex and bitmex

$30-250 USD

진행 중
게시됨 5년 이상 전

$30-250 USD

제출할때 지불됩니다
Good day I am currently running a small program (with the paradigm: structured programming) that I wrote in Python version 3.6 that interacts with [login to view URL] through the API and key. The project is to make the code in Python to do the same in bitfinex and bitmex. I do not handle object-oriented programming well, so I ask for the code in structured programming. The program does the following four things: 1) Get trading balance import requests import json import time import math import winsound def Balance(): session = [login to view URL]() [login to view URL] = ("API", "KEY") balances = [login to view URL]('[login to view URL]').json() for balance in balances: if balance['currency'] == 'USD': global usdt_balance usdt_balance = float(balance['available']) print('balance USD :',ustd_balance) Balance() 1) Get the last Price import requests import json import time import math import winsound def preciocompraventaeth (): r1 = [login to view URL]('[login to view URL]').json() [login to view URL](r1) global ultimocambioeth ultimocambioeth=r1['last'] ultimocambioeth=float(ultimocambioeth) print ("Ultimo:",ultimocambioeth) preciocompraventaeth () 2) Make a purchase or sale def venta (): preciocompraventaeth () session = [login to view URL]() [login to view URL] = ("API", "KEY") orderData = {'symbol':'eosusd', 'side': 'sell', 'quantity': 3, 'price': 5 } r = [login to view URL]('[login to view URL]', data = orderData).json() [login to view URL](r) #venta () 3) Calculates the SMA (simple moving average) of the closing prices of the last candles for example last 100 candles in periods of 5 minutes def smaeth(): def fix_floats(data): if isinstance(data,list): iterator = enumerate(data) elif isinstance(data,dict): iterator = [login to view URL]() else: raise TypeError("can only traverse list or dict") for i,value in iterator: if isinstance(value,(list,dict)): fix_floats(value) elif isinstance(value,str): try: data[i] = float(value) except ValueError: pass r1 = [login to view URL]('[login to view URL]').json() for item in r1: [login to view URL]('timestamp', None) global candle1 candle1 = r1 fix_floats(candle1) final = {} for d in candle1: for k in [login to view URL](): final[k] = [login to view URL](k,0) + d[k] global tuy tuy=final['close'] tuy=float(tuy) global smaeth100 smaeth100=tuy / 100 print ("SMA 100 :", sma100) smaeth() I will provide you with my APIs to run the code
프로젝트 ID: 18302588

프로젝트 정보

7 제안서
원격근무 프로젝트
활동 중 5년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
7 이 프로젝트에 프리랜서들의 평균 입찰은 $417 USD입니다.
사용자 아바타
Hi Nice to meet you. I'm python expert and my last project on freelancer.com is also python scraping task. My past works: Youtube comment scrapping Real estate property list to csv Job-site content to csv And scrap posts from facebook, twitter, instagram using scrapy. I checked your trade code. I written arbitrage trading bot between bittrex and bitfinex, kraken. So I can help you to run code. I can help you related with python. Let me know if you are interested in me. Regards.
$150 USD 3일에
4.9 (51 건의 리뷰)
6.1
6.1
사용자 아바타
Hello 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 MetaTrader(MT4/MT5, MQL4/MQL5), TradingView(Pine Script) and QuantConnect(based on Python/C#) platforms. And familiar with exchange markets such as BitMex, bittrex, bitfinex and so one. Also have experience of binary option on iqoption. I have knowledge many strategies and indicators such as RSI, MACD and EMA crossing indicators, BreakOut and Hidden Divergence indicators etc. Project can be integrated into social media into e-mail and telegram for SIGNAL communication. And I am ready for professional back-testing and live trading. I can create the automated trading system with PYTHON, PHP or C#. Will be provided the professional front-end and strong back-end in case of web based system. I can discuss about more details of your project. Thanks.
$155 USD 3일에
5.0 (26 건의 리뷰)
6.1
6.1
사용자 아바타
I am expert who understands the value of time. I pride myself in my attention to detail. I am very hard working and aim to deliver in less time than quoted. I want to make you, my employer happy without changing my bid or playing games. If you are looking for a true Freelancer, I am the Right person for you. I am available almost 24-7 and am very responsive. I feel proud that I am a trusted Freelancer who pleases almost every single client. You can rest assure, your work will be delivered well in advance of others, with passion and accuracy. I guarantee you instant communication & responses when you need me. Why choose me? I think every client is the reason for my success. I only take projects which I am sure I can do quickly and at my FIRST BID. I promise to deliver 100% Satisfaction.I have more than 5 year of experience in Python, Software Architecture, Website Testing. Please ping me for more discussion.
$250 USD 4일에
4.9 (41 건의 리뷰)
6.0
6.0
사용자 아바타
Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.
$140 USD 2일에
4.5 (26 건의 리뷰)
5.1
5.1
사용자 아바타
Hi... How are you?. I saw your description carefully and i 'm very interesting your project. And i can start to work just now and will be my best to finish asap with good quality. But to do your project perfectly, i will need to know more clearly so i have few questions with your project. If u have little time to discuss wiht me, please ping to me. And if you would like to see my skills please go this link: https://www.freelancer.com/u/crocodile305 If you would like to give me your project , i will be very happy to work with you. Thanks time:12/6/2018 4:25:5----19
$112 USD 3일에
5.0 (3 건의 리뷰)
3.9
3.9
사용자 아바타
Hello, I have a lot of knowledge and experience for this job. If You hire me this project will be done efficiently and fast. Feel free to contact me if You have any questions. Kind regards, Nino Rasic
$111 USD 3일에
4.8 (5 건의 리뷰)
2.3
2.3

고객에 대한 정보

국기 (COLOMBIA)
Cartagena, Colombia
5.0
1
결제 수단 확인
12월 3, 2018부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.