where do i begin the json statement to login and authorise my API token where i have an open 'BUY...
so where do i begin the json statement to login and authorise my API token where i have an open 'BUY' position but want to develop my
script with MA conditions to adjust my 'BUY' and 'SELL' according to price action .My DTRADER is trading the Volatility 25 Index , so i wish to
monitor my price action by as if continuous automated scanning that almost anticipates ahead of market value to make that calculative decision on appropriate SL or TP or Trailing Stop Loss . So to begin the json script to program at the API PLAYGROUND please send me
information to begin the initial steps .
Answers
Hi @5ew5ja
Here is a sample in C# of buying a contract. It seems what you would need to add to this a subscribe to a tick stream and when the price matched what you want send a buy request.
compliments to Michael Mueller -
DERIV community what do you think of Michael Mueller,s supportive example to our benefit . Good fortune !!