I can't figure out why my timefilter doesn't work. Let's say I would like to only enter to positions between 7:35-11:30 and 14:30-22:30 and I don't want to ente
Is there a way to create an indicator which reflects the current price of a stock in Pine Script? I need this indicator because I need to enter an order before
Following code doesn't seem to work to Logon using FIX API. Getting "invalid credentials" from the exchange though same username and access key seem to work wit
I am trying to develop a simple RSI strategy by using this code. As you can see by plotting the code, there are too many consecutive sell signals. I'd like ther
So this is a follow-up from my previous question. I've tried to utilize some arrays to create multiple buy, profit taking and stop orders so that trades can be
I'm considering various grid trading strategies and I'm wondering what's the optimal action (if any) to take when the price goes out of grid bounds. In the imag
I am trying to code a basic trading strategy call sell the winner and buy the loser. I have listed the three conditions I want to code in python. I am a newbie
If I had CryptoCurrency trading bot that can give me 0.5% profit in hour, and the exchange fees is 0.075%, and my capital balance is $1000, how can I calculate
exchange = ccxt.binance({ -- "apiKey": 'xxx', "secret": 'xxx', 'options': { 'adjustForTimeDifference': True }, 'enableRateLimit': True }) exchange_f = ccxt.
I have a trading bot that trades multiple pairs (30-40). It uses the previous 5m candle for the price input. Therefore, I get 5m history for ALL pairs one by on
I would like to develop a code which add a Series to my DataFrame; the Series should store the lowest value of the Close until a new low is reached. When a new
I'm trying to implement (in Python) SuperTrend indicator that you can see on Binance website if you click on TradingView tab and add it here So far I've tried m
exchange.load_markets() while 1: try: bars = exchange.fetch_ohlcv(ETH/USDT, timeframe='5m', limit=5)
I have been working on an algorithm ( Not mine, I am just modifying it ) that predicts when to buy and sell on the FOREX market. I need to be able to open and c
Goal: On a 1 minute candlechart using the Quantower API, to get the previous bar's low price, and the current bar's open, high and low price to be used in a str
I’m trying to calculate Connor’s RSI (CRSI). RSI and ROC give correct results, but due to streaks I get incorrect results for CRSI. Does anyone know