Creating a trading system from scratch

How many lines of code you are comfortable with


  • Total voters
    61

UberMachine

Well-Known Member
Dear UB,
What this cell giving in backtest?

View attachment 28648
Its the correlation matrix as @vinit_7801 has pointed out.
Correlation shows how one factors is related to other.
Its between -1 and +1
+1 both factors change perfectly. -1 mean both factors change perfectly but in reverse.
Correlation helps us identify what factors are related.
As you could see, the first colum open price is extremely close to the other prices (high, low, close, last) but tottrdval (total traded value is negative).
This mean that the prices and quantity don't move in the same direction, which is a bit surprising.
We can then use this information to further do our analysis and create a system out of it
 

UberMachine

Well-Known Member
Master is this golden period once in years:p
Yes but they are more frequent.
This is an usual cycle correction and happens once in a year (this time its way too much).
Actually, these are the only profits, the other months would just break even or provide us enough money to stay in the market.
Gosh! I missed a couple of days.
If this turns out to be a bear cycle, expect more fun.
The really unfortunate thing is when you enter at the other end of the cycle but provided a better capital management technique, you can still be in the game to turn to profits
 

VJAY

Well-Known Member
Yes but they are more frequent.
This is an usual cycle correction and happens once in a year (this time its way too much).
Actually, these are the only profits, the other months would just break even or provide us enough money to stay in the market.
Gosh! I missed a couple of days.
If this turns out to be a bear cycle, expect more fun.
The really unfortunate thing is when you enter at the other end of the cycle but provided a better capital management technique, you can still be in the game to turn to profits
Dear UB,
are you saying if we have trade this method we mostly go with BE only at end of month if not get this type of trade (too bearish market)?
 

UberMachine

Well-Known Member
Dear UB,
are you saying if we have trade this method we mostly go with BE only at end of month if not get this type of trade (too bearish market)?
Not breakeven but would just get enough returns to stay in the market.
To illustrate, say this gives you around 20% returns. Out of this 20%, 15% would be in one or 2 months. In other months, we would get the other 5% without getting too much drawdown.
Most of the profitable strategies are designed in this way where your drawdown is low, you make extremly low profits and get a jackpot in the middle.
But trading with NIFTY50 would only break even unless you execute all of your trades successfully (this is because NIFTY 50 is highly liquid and everybody trades in them and everybody knows them and there were few opportunities)
 

Similar threads