Bootcamp Task FAC
Bootcamp Task FAC
Time Frame :
Converted the given data into 30 minutes intervals data for further Task.
Denoising :
Used Heiken Ashi denoising technique to smoothen the OHLC values.
Strategies Overview:
I have used a combination of various indicators like
Fisher Transform, Volume Weighted Average Price, Relative Strength Index, MACD to
generate signals.
Risk Management:
Applied Trailing Stop Loss, Dynamic Exit Condition, 4 day trade Limit\
Leverage:
Using the ATR indicator, I found the slope of the ATR indicator indicating the
volatility of the close price.
On observing the Slope values being between (-0.06 , 0.05), I resized the
ATR_slope with (1,5) boundary range.
APPLYING LEVERAGE :
While dealing with prices of low volatile areas, we can take risks with high leverage.
if (self.slope.iloc[i]<2) :
self.leverage = 5
elif (self.slope.iloc[i] < 3):
self.leverage = 4
elif (self.slope.iloc[i] < 3.75):
self.leverage = 3
elif (self.slope.iloc[i] < 4.25):
self.leverage = 2
else :
self.leverage = 1
Strategies :
1) Fisher Transform Strategy
Normalising :
Transforming:
After normalising using this formula we convert the price to normalise between (-1,1)
so that it doesn’t make the logarithm in the next step undefined.
At each period, It uses the cumulative sum of average OHLC prices multiplied with
volume divided by cumulative sum of Volume to generate the vwap price.
NOTE :
I combined these strategies with Macd And Rsi to generate stronger signals.
Constraints:
For the constraint of having one complete trade in 4 day period, I have used a
variable ‘hours’, ( the data I used to generate signals was 30min based), so
considering this there are 14 periods a day and 56 in 4 days, the variable monitors
this and whenever there is no trade started for last 54 periods , it starts the trade on
55th period and ends on 56th period minimising the loss or profit for the sake of
constraint and similarly whenever there is an open trade and hasn’t closed for 4 days,
The variable closes it in the 56th period.
Results:
● Tried to implement the Parabolic SAR strategy , but it didn’t yield good
results with many false signals generated.
● Tried to generate leverage based on the strength of signals, by separating all
the signals into strong and weak signals of both buy and sell types. But couldnt
implement it because of all the strategies i used generate signals based on different
parameters, like volume , gaussian conversion of prices, momentum based, then
weaker signals didn’t make a proper sense and mostly returned false signals.