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
Ταυτότητα εργασίας: 18302588

Σχετικά με την εργασία

7 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 5 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
7 freelancers δίνουν μια μέση προσφορά $417 USD για αυτή τη δουλειά
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Δεκ 3, 2018

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.