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年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に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)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。