Not able to Parse Integers from Tradingview to API Bridge. Is there any plan to implement this?

Hi Algiji Team,

While doing automatic option price strike selection from Pine Script, If I am putting integers in SYMBOL (Eg: TYPE: SE :SYMBOL:BANKNIFTY22000CE), API Bridge only recognize BANKNIFTYCE missing the 22000 part. It is hampering my logic for strike selection.

Below is the screenshots . 1st screenshot is alert message from TV. Second screenshot is what is received in API Bridge. One can clearly see in 2nd screenshot that even BANKNIFTY22000CE is present in symbols list, still API bridge only parses BANKNIFTYCE and hence shows the message like Symbol not found.

To mitigate the above issue, I am using another logic like assigning each strike (whole ineteger by using Ceil function)to one unique string and passing that in symbol.

Eg.

If I am Passing the same string in symbols from TV, Its going through in API bridge.

As you can see I am using this method to parse my automatic symbol selection. I know its stupid idea to use this method but i have no other way. It makes my pine script look very big code as I have to encode all BN option strikes into separate strings.

Can you please enable parsing of integers from TV to api bridge. It will make life easier for people like me.

Thanks,

Rajendra

Hi @Rashi Razdan @OstGtVTgFa Can you please look into this

Thank you for posting this. Its not stupid, but a important requirement.

Currently, you can use webhook to include integers https://mycoder.pro/apibridge/tradingview/tradingview-webhooks-setup/

We will release new extension in 2-3 working days, that will also support integers in symbol names.

Hi Rashi,

Thanks for your reply. looking forward to new release. One more question. If i am deselecting “Show 'Popup” option in Tradingview for alerts, the Alert Comments are not going to API Bridge. Is that expected behavior?

I am using Webhook URL to send my alerts to Telegram. Just because i deselected “Show Popup” option, none of my trades sent through even though i was getting alerts populated in Telegram from Trading view. Is there any plan in future to integrate API Bridge trade logs to any webhook URL/mail/messages ? This will make sure both alerts and API bridge trades are in sync or not for a person not in front of computer.

“Is there any plan in future to integrate API Bridge trade logs to any webhook URL/mail/messages ?”

Yes of course. Right now you can get alert of each trade/signal on email. We plan to add telegram alerts on release for 25th Sept https://mycoder.pro/apibridge/email-and-sms-notifications-or-alerts/