Sounding Board and Random Brainstorming

#71
Hi The Disciplined Trader,

Who is your VPS provider and is there any trial available...?
Using Auto It or some other utility for full automation, please guide. I have made batch files for starting and stopping all trading softwares, but i need to run those batch files manually.
ankur07090

i am giving ur pm answer here. i use google cloud vps. yes they are providing windows server in their trial service. u get 2 months trial free. after that u will get 2500 to 3000 rs per month. there are lot of vps provider if u go for symphony they charge 12 k per year for vps which is cheap compare to google. also in google u have to do all by ur own. which is a bit difficult task.

copypasteaee

frankly speaking i am not coding person. i paid one professional and he did it. it was very difficult task it took me 1 month to go fully automatic. it depends on which datafeed u use which auto api u use. most datafeed companies dosent support auto start. it starts automatically but datafeed dose not start. another disadvantage is i dont see my algo for week. so i cant miss any signals if i miss any buy sell due to any issue still my cover order will get fire so i have to put all orders market order. i get more slippages due to this.
 
#72
Very good and best of luck to you. please respond to query and tell me how you have fully automated the Zerodha Pi. as far as i know, you will have to accept the order in Pi before it goes to exchange. Further how are you automatically starting your terminal, amibroker and data feed every day.
i didnt say to which broker i am doing auto trading. i am using zerodha for option trading. i cant answer all ur questions on public forum as u know how auto trading in india works. but yes everything starts automatically. even i can start all application from my mobile also. i am not here to sell anything or promote anything but if u need help i can guide u. pm me.
 

vijkris

Learner and Follower
#74
Arsh, Vijkris,

Can u please post screenshot of AFL backtester setting window in amibroker....?


I defined commission table as- min % of value = 0.04
 
#76
I am using below code for back testing.

Code:
Param_LotSize = Param("Lot Size (used for backtesting only)", 1,1,5000,1);
Param_Margin = Param("Margin required (used for backtesting only)", 15,0.001,100,0.001);
Param_NoOfLots = Param("No of lots normally traded (used for backtesting only)",1,1,10000,1);

//Settings for Backtester

SetOption("AllowSameBarExit", False);
SetOption("AllowPositionShrinking", False);
SetOption("FuturesMode", True);
SetOption("InterestRate",0);
SetOption("MaxOpenPositions",1);
RoundLotSize = Param_LotSize;
SetOption("MinShares",RoundLotSize);
SetOption("PriceBoundChecking",False);
//SetOption("CommissionMode",3);
//SetOption("CommissionAmount",12.5/RoundLotSize);
SetOption("AccountMargin",Param_Margin);
SetOption("ReverseSignalForcesExit",True);
SetOption("UsePrevBarEquityForPosSizing",True);
//ApplyStop(stopTypeTrailing, stopModePoint, DTSL, True, True );
PositionSize = C*RoundLotSize*Param_NoOfLots;
SetTradeDelays(0,0,0,0);
BuyPrice = Close;
SellPrice = Close;
ShortPrice = Close;
CoverPrice = Close;

//End of Settings for Backtester
And below the snapshot for backtester setting window.



Are these correct settings....?
 

vijkris

Learner and Follower
#78
I am using below code for back testing.

Code:
Param_LotSize = Param("Lot Size (used for backtesting only)", 1,1,5000,1);
Param_Margin = Param("Margin required (used for backtesting only)", 15,0.001,100,0.001);
Param_NoOfLots = Param("No of lots normally traded (used for backtesting only)",1,1,10000,1);

//Settings for Backtester

SetOption("AllowSameBarExit", False);
SetOption("AllowPositionShrinking", False);
SetOption("FuturesMode", True);
SetOption("InterestRate",0);
SetOption("MaxOpenPositions",1);
[B]RoundLotSize = Param_LotSize;[/B]
SetOption("MinShares",RoundLotSize);
SetOption("PriceBoundChecking",False);
//SetOption("CommissionMode",3);
//SetOption("CommissionAmount",12.5/RoundLotSize);
SetOption("AccountMargin",Param_Margin);
SetOption("ReverseSignalForcesExit",True);
SetOption("UsePrevBarEquityForPosSizing",True);
//ApplyStop(stopTypeTrailing, stopModePoint, DTSL, True, True );
[B]PositionSize = C*RoundLotSize*Param_NoOfLots;[/B]
SetTradeDelays(0,0,0,0);
BuyPrice = Close;
SellPrice = Close;
ShortPrice = Close;
CoverPrice = Close;

//End of Settings for Backtester
And below the snapshot for backtester setting window.



Are these correct settings....?
since u coded backteating in afl, it will override the backtester settings.
I usually want to keep ot simple, so never coded these settings, rather changed settings in backtester window.

check the bold lines.
pos size = 7000(nf)*1*1. will it come like this? I may be wrong also.

for 1 lot nf, keep SetPositionSize(75,spsShares);
 
#79
since u coded backteating in afl, it will override the backtester settings.
I usually want to keep ot simple, so never coded these settings, rather changed settings in backtester window.

check the bold lines.
pos size = 7000(nf)*1*1. will it come like this? I may be wrong also.

for 1 lot nf, keep SetPositionSize(75,spsShares);
Confused about these things.

So should I remove backtester code and simply set backtesting window as per your chart. I am backtesting only nifty.
 

Similar threads