algorithmic-trading Questions
5
Hi I am trying to install ibapi in python however the package seems to be unavailable because there is an error every time I try to install it is there another way I can install this package . Your...
Hardeman asked 22/8, 2019 at 23:24
7
Solved
Is it possible to console.log variables, or the results of function invocation in pine-script?
I'd like to convert a pine-script script into JavaScript, and I'd like to verify pinescript variables ...
Englebert asked 7/2, 2018 at 4:47
1
Thank you all for your help so far. I have been coding many different strategies in pinescript so far, and I have read through pinescript manual and many google articles, but I am still confused as...
Misname asked 22/1, 2021 at 4:45
7
What might be the simplest way to check if today the U.S. stock exchanges are open for trading?
The prolonged way I am hoping to avoid is by creating routines to parse a feed with calendar info li...
Mansoor asked 19/4, 2019 at 7:47
4
Solved
I was wondering is there any Python library that covers RSI-Divergence (difference between a fast and a slow RSI) or any guidence about how can I implement its algorithm in Python.
Already asked qu...
Dolly asked 11/1, 2021 at 12:25
4
I used Binance Python api in my algotrading bot, but I get an error when I use future market api.
'''
BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action, requ...
Eisenstein asked 17/11, 2020 at 6:20
3
I am trying to apply the Hurst Exponent on SPY closing prices on a rolling window. The below code (which I got from here: https://www.quantstart.com/articles/Basics-of-Statistical-Mean-Reversion-Te...
Meredi asked 18/7, 2019 at 14:12
2
Solved
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 the candle closes (when there is a sp...
Television asked 10/10, 2020 at 15:2
3
Solved
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 one. Currently, the full cycle takes ab...
Aesculapian asked 21/8, 2020 at 1:30
6
Solved
With MQL4 I have troubles in handling datetime.
What I want to do is put datetime in array by month or by year.
For now I do in this way.
datetime myDate;
myDate[0] = D'2010.01.01 00:00';
myDat...
Underplay asked 11/11, 2016 at 21:55
2
I am working on a trading bot and I wanted to train it by getting a list of my order history from Binance for a specific period of time. I looked at the API documentation here, but it seems that I ...
Withershins asked 29/6, 2020 at 12:40
4
Solved
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 close orders, dynamically update...
Misreckon asked 20/9, 2016 at 11:20
2
I'm trying to crunch some numbers in:
I have tested a few variations of importing data but failed. Really appreciate some advise. Thanks!
path = 'Data/Price.numbers'
with open(path) as file:
file...
Millwork asked 29/12, 2017 at 14:2
3
I'm trying to use PyAlogoTrade's event profiler
However I don't want to use data from yahoo!finance, I want to use my own but can't figure out how to parse in the CSV, it is in the format:
Times...
Mayle asked 3/5, 2016 at 12:11
1
I'm getting the error line 13: Could not find function or function reference 'ema'. When I know for a fact ema is a function.
I'm trying to do a simple strategy, where it enters a long trade if the...
Chaos asked 14/11, 2021 at 22:24
8
I have been using yfinance for the last several weeks to pull historical data on a number of stocks. I normally run the program at the end of each week to store data for that week, but this problem...
Vidicon asked 10/7, 2021 at 19:46
6
Solved
Given a time series, I want to calculate the maximum drawdown, and I also want to locate the beginning and end points of the maximum drawdown so I can calculate the duration. I want to mark the beg...
Unwonted asked 24/3, 2014 at 10:53
2
//@version=4
study(shorttitle="try", title="line", overlay=true, resolution="")
line.new(x1=bar_index[10], y1=close[10], x2=bar_index, y2=close)
I want to draw a si...
Rundgren asked 17/9, 2020 at 19:17
5
so I've followed the steps here to the letter: https://www.reddit.com/r/algotrading/comments/c81vzq/td_ameritrade_api_access_2019_guide/ in an effort to get a refresh token so that I can build a cl...
Spaceship asked 4/4, 2020 at 16:58
1
I've been working with 2 Moving averages crossing which is quite straight forward. I want to add a third to the mix and I'm trying to figure out to check for this occurring within 4 candles or less...
Ive asked 7/9, 2020 at 14:2
2
Solved
How to use CopyRates() to search and filter through several timeframes for Bullish Engulfing pattern
I am trying to use CopyRates() to search for a bullish engulfing candlestick pattern (bearish candle followed by a bigger bullish candle) on several timeframes (all timeframes H2 to M10 within an H...
Trainbearer asked 23/6, 2020 at 6:2
1
I have an expert advisor that draws rectangle on a specifically defined bearish pinbar followed by a bullish candle. Please see the code below. It basically shows the rectangle on the timeframe dis...
Continuator asked 19/6, 2020 at 22:47
3
I've been performing some research, in order to find the best approach to identify break points (trend direction change) in a dataset (with pairs of x/y coordinates), that allow me to identify the ...
Poultice asked 7/6, 2020 at 17:16
2
Solved
I am trying to add another condition to the solution in this post. I want the stop loss to move by 10 pips when a trade is in 10 pips profit. To be more specific, say I've set a pending buy order a...
Voidance asked 16/5, 2019 at 21:46
3
Solved
I have a database table containing one-minute periods of Open, Close, High, Low, Volume values for a security. I'm using SQL Server 2017, but 2019 RC is an option.
I am trying to find an efficient...
Salpingectomy asked 4/11, 2019 at 7:54
1 Next >
© 2022 - 2024 — McMap. All rights reserved.