Can you explane me, how can I do it?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
How to create own ShareService in NinjaScript?
Collapse
X
-
How to create own ShareService in NinjaScript?
Hi, I want to send messages and screenshots from my indicator to Telegram group. I read in help guide: , and it is possible for developers to create their own ShareService in NinjaScript to access other social media outlets.
Can you explane me, how can I do it?Tags: None
-
Hello handlar,
Thank you for the post.
For this task, I would suggest looking at the existing twitter share service that is included with the platform.
Because each service has a different and unique API, this is not really something where there is a one fits all solution. The ShareService type in NinjaScript simply gives you the ability to implement your own service in the existing menus of the platform. How that service works will be dependent on the API you want to connect with.
There are 4 existing examples included with the platform that demonstrate different services, I would suggest reviewing those and also the Telegram API documentation to see how you could create a similar structure.
You can also find the descriptions of the default share service properties here: https://ninjatrader.com/support/help...re_service.htm
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kujista, Today, 06:23 AM
|
0 responses
1 view
0 likes
|
Last Post
by kujista
Today, 06:23 AM
|
||
Started by traderqz, Yesterday, 04:32 PM
|
1 response
10 views
0 likes
|
Last Post Today, 06:14 AM | ||
Started by f.saeidi, Today, 05:56 AM
|
1 response
4 views
0 likes
|
Last Post
by Jltarrau
Today, 06:00 AM
|
||
Started by Jltarrau, Today, 05:57 AM
|
0 responses
4 views
0 likes
|
Last Post
by Jltarrau
Today, 05:57 AM
|
||
Started by Stanfillirenfro, Yesterday, 09:19 AM
|
7 responses
52 views
0 likes
|
Last Post Today, 05:31 AM |
Comment