Suoritettu

To match RSI(14) & Stochastic RSI(14) with Binance or TradingView - Python only

Request

To write a python script or use existing formula for RSI and Stochastic RSI which would match one or both Binance and/ or TradingView platform.

You can use any of TA-lib, finta, tulipy or your own function or library in order to accomplish the task.

No scraping please. Just APIs and formula based solutions.

__________________________________________________________________

To consider

a) trading window is 1 minute/ kline

b) 14 means trading trading period, so last 14 klines of 1 minute to be considered

c) might be possible to adjust the code using a smoothness (Wilder's Smoothing) to get the right result

d) in order to use the last 14 klines, you might need more than 14 entries, to close the gap of potential NaN

e) the above can be done by fetching the client.get_klines for past 250 entries of Client.KLINE_INTERVAL_1MINUTE for a specific pair

f) Stochastic RSI smoothness tried so far was EMA and SMA

__________________________________________________________________

Charts

Make sure the trading window is 1 minute and selected from tech indicators the RSI(14) and the StochRSI(14, 14, 3, 3) aka Stochastic RSI

[login to view URL]

[login to view URL]

__________________________________________________________________

Helper and Misc

import pandas as pd

pd.set_option('display.float_format', lambda x: '%.12f' % x)

import numpy as np

np.set_printoptions(suppress=True)

from [login to view URL] import Client

import talib

from talib import MA_Type

from talib import abstract

from [login to view URL] import *

from finta import TA

import tulipy as ti

import logging

[login to view URL](filename='log_'+[login to view URL]('%Y_%m_%d')+'.log',level=[login to view URL])

# the input to be saved into a csv with the following head

csvhead = [["date", "open", "high", "low", "close"],]

csvdata = []

client = Client(api_key, api_secret)

[login to view URL]()

# fetch a good chunk of data to avoid NaN when applying the formulas, despite we only need the last entry from result or the RSI/ StochRSI

# according to [login to view URL]

klines = get_historical_klines("RENBTC", Client.KLINE_INTERVAL_1MINUTE, "1 day ago UTC")

# populate a csv called "[login to view URL]" with above klines response

# you might want to reverse the dates in the csv to calculate in the chronological order

df = pd.read_csv('[login to view URL]',index_col ='date')

close = df['close']

### RSI outputs ###

rsi_finta = [login to view URL](close, 14)

print("RSI_finta = {}".format(rsi_finta[-1]))

rsi_ta = [login to view URL](close * 100000, 14) / 100000

print("RSI_talib = %s" % (rsi_ta[-1]))

rsi_ti = [login to view URL](close, 14)

print("RSI_tulipy = %s" % (rsi_ti[-1]))

### Stochastic RSI outputs ###

fastk_1, fastd_1 = [login to view URL](rsi_*one_from_above, rsi_*one_from_above, rsi_*one_from_above, fastk_period=14, slowk_period=3, slowk_matype=[login to view URL], slowd_period=3, slowd_matype=[login to view URL])

fastk_2, fastd_2 = [login to view URL](rsi_*one_from_above, rsi_*one_from_above, rsi_*one_from_above, fastk_period=14, slowk_period=3, slowk_matype=[login to view URL], slowd_period=3, slowd_matype=[login to view URL])

print("StochRSI K_1 is: %s \n" % (fastk_1[-1]))

print("StochRSI D_1 is: %s \n" % (fastd_1[-1]))

print("StochRSI K_2 is: %s \n" % (fastk_2[-1]))

print("StochRSI D_2 is: %s \n" % (fastd_2[-1]))

Taidot: Python

Näytä lisää: macd rsi stochastic ea, matlab stochastic rsi, please create a logo and color it orange and purple to match the color sample attached, product retouching & color correction-must know how to match cmyk values, product retouching color correctionmust know how to match cmyk values, i need a logo to match domino guest inn, how to design a logo to match concepts, how to develop a website using python, how to find the average in python programming, how to get loss of an python, how to get out source code python, how to write a diary entry about someone who's sick, introduction to computation and programming using python, introduction to computation and programming using python pdf, introduction to computing and programming in python, simple data entry - change the filename to match the code of the image, The project at hand is to take the value $.ajax({ url: \ http://14.203.125.61: 8888/getPlayerGlobalStats?id=\ .$steamid, The project at hand is to take the value $.ajax({ url: \ http://14.203.125.61: 8888, Theme for corporate identity to match our logo, The back of the page will update in color as well to match the front but will have the paragraphs of information.

Tietoa työnantajasta:
( 0 arvostelua ) Hull, United Kingdom

Projektin tunnus: #23923150

Myönnetty käyttäjälle:

aki003iitr

Analyst with 4 years of building trading sytems in Python. I have worked on building predictive models, HTF stystems, arbitrage bots etc. I can help in building RSi and Stoch RSI indicators as well as other indicators Lisää

$60 USD 1 päivässä
(32 Arvostelua)
6.1

6 freelanceria on tarjonnut keskimäärin 107$ tähän työhön

RushService

Feel fee to contact me for To match RSI(14) & Stochastic RSI(14) with Binance or TradingView - Python only .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sess Lisää

$140 USD 2 päivässä
(17 arvostelua)
4.5
Ladiginvladislav

Dear client. I am checking your requirements, i believe I can do it perfectly. I am experienced develop expert of Python and Django. I can do it perfectly. I will be honestly for you. I hope you give me a chance. Plea Lisää

$50 USD 1 päivässä
(0 arvostelua)
0.0
kiash254

Experianced developer on Quantopian, i have been building trading models for 2 years. I can help build RSI and Stochastic RSI . Contact Me for more details.

$140 USD 7 päivässä
(0 arvostelua)
0.0
crduran

Hi, Sir I have just read about your project. That's my WANTED task! I am Python expert with Latest Technologies & Web developer with rich experience. If you give me the opportunity to have your task EXCEPT other bids,, Lisää

$140 USD 5 päivässä
(0 arvostelua)
0.0
annakamatchi

[login to view URL] Dear client I saw your requirement regarding to develop an Indicators RSI & StochRSI is similar to tradingview/binance exchange. I developed RSI already exactly tradingview/binance exchan Lisää

$112 USD 1 päivässä
(1 arvostelu)
0.0