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
Create custom share service
Collapse
X
-
Hi guys, is this what you are looking for?
-
Originally posted by wr41th View PostNo, i didn't try it as standalone c# app. I don't have VS. Just NinjaScriptEditor. Url through Chrome works correctly (message sent), but it doesn't work through NT Share service.
Thank you Chris, i will continue troubleshooting by myself.
- Likes 1
Leave a comment:
-
No, i didn't try it as standalone c# app. I don't have VS. Just NinjaScriptEditor. Url through Chrome works correctly (message sent), but it doesn't work through NT Share service.
Thank you Chris, i will continue troubleshooting by myself.
Leave a comment:
-
Hello wr41th,
Thanks for the reply.
Support is limited to the share service only, so I can not look into the Telegram API much. Were you able to make a successful post request from a standalone C# application yet?
I was able to find this public repository of a C# Telegram client:
.NET Client for Telegram Bot API. Contribute to MrRoundRobin/Telegram.Bot development by creating an account on GitHub.
I look forward to assisting further.
- Likes 1
Leave a comment:
-
Thank you Chris.
I set this property to true and share service allowed to click Ok.
I used Twitter share service as base for my Telegram service (cause it use HttpClient, not SmtpClient). But it doesn't work. I get this into log -Can you check it out in attach?13.11.2018 18:30:19 NinjaScript There was an error while sharing from the Share service Telegram: "An error occurred while sending the request." Attached Files
Leave a comment:
-
Hello wr41th,
Thank you for the post, and welcome to the NinjaTrader forum.
The IsConfigured property will tell if the share service is properly configured. You can see the Mail share service script set this in State.SetDefaults. The other share service scripts are open source, so they would be a good reference for creating a custom share service.
Please let me know if I can assist further.
Leave a comment:
-
Create custom share service
Hi.
I'm trying to create new custom share service for Telegram. I use NinjaTrader Editor -> New share Service, complete wizard. In Options -> Share Services new share service is available. I click Add button, then OK and get this Error:
...share service could not be saved. This share service has not been properly configured. Connect to the service before pressing Ok or Apply.
What i missed?Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by lorem, Yesterday, 09:18 AM
|
4 responses
14 views
0 likes
|
Last Post
by lorem
Today, 12:17 PM
|
||
Started by Spiderbird, Today, 12:15 PM
|
0 responses
5 views
0 likes
|
Last Post
by Spiderbird
Today, 12:15 PM
|
||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
12 responses
42 views
0 likes
|
Last Post Today, 12:09 PM | ||
Started by FrazMann, Today, 11:21 AM
|
0 responses
6 views
0 likes
|
Last Post
by FrazMann
Today, 11:21 AM
|
||
Started by geddyisodin, Yesterday, 05:20 AM
|
8 responses
52 views
0 likes
|
Last Post Today, 10:45 AM |
Leave a comment: