Mathieu2301 / TradingView-API

📈 Get real-time stocks from TradingView
1.44k stars 324 forks source link

Can I Hire You To Set This Up For Me? #30

Open turnupdigital opened 2 years ago

turnupdigital commented 2 years ago

Mathieu,

I would like to hire you to set this thing up for me.

I wouldn't know how and though I am slowly learning more about code I think its best if I work with someone who knows how to do it.

This is your creating so in a perfect world, I would work with you. If not, is there anyone you know that would help me?

This API is vital because I am working with invite only indicators for my strategy and I would like to back test.

I do have a premium account with live market data.

The strategies will be pretty basic and I want every ticker that I feed in to go through the same process. There are 4 indicators that I will be using.

The 2 main ones are just BUY and SELL signals... so one of the backtest, for example, will be Buy when I get a buy signal and sell when I get a sell signal... very straightforward.

I will be working mainly on the 2 hour, the 4 hour and the daily chart and I have the ability to export all the data I need with their export option... so maybe we can speed up backtest since I'll have the data locally.

There will be two parts to the project, first just a basic set up and configuration of the strategies and if I could get a brief tutorial on how to input the ticker.

The second part of the project I will want to see if we can build in a bit of automation... but for now the priority is the initial setup.

Please let me know, I am very interested in having this thing set up ASAP... I think you could do it very quickly.

I can be reached at andres@turnupdigital.com by phone 813-847-4199 or through here might be ok I'll install the app so I see replies and will be checking in until we talk since I see you are pretty responsive in here.

You are my first choice, let's make it happen...

Andres

Mathieu2301 commented 2 years ago

Hello, I think that all the features you need are already available in the V3. Many examples are available in ./examples directory and we will continue to add more. I remain available to answer if you have any problems with the library, but I don't have much time at the moment. If you have a very specific project, please give me as much detail as possible and an idea of the price you could pay. And if you want to tip me for my work, you can use the Sponsor button.

Thank you

turnupdigital commented 2 years ago

I will tip you, I will... as soon as I get it working or when I have a question that needs attention, whichever comes first... you have my word.

I barely grasp the working with API's thing, even if you did set it I wouldn't know what to do after.

I took two Python Courses and learned about VectorBT and Backtrading.py and the others and I came to realize that this is exactly what I need. I'm glad your busy, you're going to do well in life. I can outsource it to someone but I really want to learn so I'm taking some Javascript API courses.... it really helped with understanding the others.

Gratitude for this, its exactly what I needed... theoretically for now but it seems like it is.

turnupdigital commented 2 years ago

Hello Mathieu,

Sorry it took me so long to get back to you. I wanted to have someone that ACTUALLY knows something about code have a look at it first considering your limited time I wouldnt want to hit you with elementary questions.

I made a video where I show you and discuss with you what I would need from you in a perfect world.

SPY 463.06 ▲ +1.78% Winning Active Trader - 22 December 2021 - Watch Video https://www.loom.com/share/e3cd1e873b7041a1a6f251231c22cec8 https://www.loom.com/share/e3cd1e873b7041a1a6f251231c22cec8?utm_medium=gif

I can restate here...

The indicator with the black letters is a little tricky... my guys that know code where able to run some of the sample code successfully but finding my Invite Only indicators has been a little tricky for them.

Now there are some things about the buy and sell signal with the black letters which make me think it might be a bit tricky:

1: It does not export in the CSV through the Export Data function built

in... I dont know if that would affect the API but for some reason I have it my head that it not showing up on the CSV will make it more difficult to find in the API?

2: The Indicator with black letters only shows up for few hundred bars

back in time... If I pull up a 10 year history on the daily chart it only shows up for about 2 years and then it doesnt show up at all. BUT... if I run replay mode the indicator shows up so that is one potential way to get the data from the indicator.

I'll be happy to give you access to my TradingView account...

What I'd be looking for from you is to log into my VPS and set up the code to work with my trading view account and the 5 or 6 indicators on my chart and then one or Example Codes with different "if" "and" "or" functions so I have a sort of template to create various strategies.

Let me know your thoughts,

Andres

On Thu, Dec 9, 2021 at 1:03 PM Mathieu Colmon @.***> wrote:

Hello, I think that all the features you need are already available in the V3. Many examples are available in ./examples directory https://github.com/Mathieu2301/TradingView-API/tree/v3.0-remake/examples and we will continue to add more. I remain available to answer if you have any problems with the library, but I don't have much time at the moment. If you have a very specific project, please give me as much detail as possible and an idea of the price you could pay. And if you want to tip me for my work, you can use the Sponsor button https://github.com/sponsors/Mathieu2301.

Thank you

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-990093143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UJBZH4HFLSNUENB6WTUQDVQHANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Mathieu2301 commented 2 years ago

Hello ! First of all I want to say that this library/API does not use Puppeteer! It would be much heavier and slower to install and use. I only use WebSockets to communicate directly with TradingView's servers and mimic the behavior of the website. It's also more difficult to develop but I think it's worth it.

It does not export in the CSV through the Export Data function built in... I dont know if that would affect the API but for some reason I have it my head that it not showing up on the CSV will make it more difficult to find in the API?

I think I'm solving this problem in #17.

The Indicator with black letters only shows up for few hundred bars back in time... If I pull up a 10 year history on the daily chart it only shows up for about 2 years and then it doesnt show up at all. BUT... if I run replay mode the indicator shows up so that is one potential way to get the data from the indicator.

The replay mode isn't currently implemented but it's planned to work on it.

I saw that you work with Node-RED, I can make, if it's interesting for you, a Node-RED module for you to build and test your strategy (I already made a Node-RED module as you can see here: https://github.com/Miakapp/node-red-contrib-MiakAPI). My library mainly interests people who are more traders than developers, so this could be very interesting for them.

Otherwise and firstly, I can make a script that gathers all the data from all indicators, open and close trades according to different conditions and numbers (the amount, SL/TP), then show as a result:

And you'll just have to change settings like:

and the conditions of the strategy, then execute the script to get your result !

Let me know what you think,

Thank you :) Mathieu C.

turnupdigital commented 2 years ago

Yes... that is exactly what I want.

I am absolutely stunned and very grateful that you know about Node Red.

That was what I was going to try and do with the code have someone break it down into Node Red Nodes some how...

so yes please, tell me what you need from me, I want to do exactly that. I can break down each aspect of the strategy or whatever you need...

I am building my system on Node Red because it's easier for me to visualize and strategize because I understand better what is happening at each point of the strategy.

On Thu, Dec 23, 2021 at 2:11 PM Mathieu Colmon @.***> wrote:

Hello ! First of all I want to say that this library/API does not use Puppeteer! It would be much heavier and slower to install and use. I only use WebSockets to communicate directly with TradingView's servers and mimic the behavior of the website. It's also more difficult to develop but I think it's worth it.

It does not export in the CSV through the Export Data function built in... I dont know if that would affect the API but for some reason I have it my head that it not showing up on the CSV will make it more difficult to find in the API?

I think I'm solving this problem in #17 https://github.com/Mathieu2301/TradingView-API/issues/17.

The Indicator with black letters only shows up for few hundred bars back in time... If I pull up a 10 year history on the daily chart it only shows up for about 2 years and then it doesnt show up at all. BUT... if I run replay mode the indicator shows up so that is one potential way to get the data from the indicator.

The replay mode isn't currently implemented but it's planned to work on it.

I saw that you work with Node-RED, I can make, if it's interesting for you, a Node-RED module for you to build and test your strategy (I already made a Node-RED module as you can see here: https://github.com/Miakapp/node-red-contrib-MiakAPI). My library mainly interests people who are more traders than developers, so this could be very interesting for them.

Otherwise and firstly, I can make a script that gathers all the data from all indicators, open and close trades according to different conditions and numbers (the amount, SL/TP), then show as a result:

  • The list of all trades
  • The performance report

And you'll just have to change settings like:

  • The market
  • Maybe the amount of money (if you want to do invest like 10% per trade)

and the conditions of the strategy, then execute the script to get your result !

Let me know what you think,

Thank you :) Mathieu C.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1000482323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UO7XTBAGZGPFRQKGUDUSNX5NANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Mathieu2301 commented 2 years ago

Okay perfect ! So it will be possible to make the script when the #17 will be solved. (Required to parse labels data) And then I will need an account that have access to all indicators.

After reflexion, it's currently too complicated to imagine the structure of a possible Node-RED adaptation for TradingView-API (because of different session types, the need to add a backtesting framework, etc...). But I could surely make a tailor-made Node-RED flow for your needs (it's the same result for you).

turnupdigital commented 2 years ago

So... how long do you think before #17 is taken care of?

I can provide access to trading view whenever you like, let me know and I will send credentials to your email.

Should I use the one on your github profile?

As long as its the same result that would be fine.

In a perfect world I would have the code in https://wayscript.com/...

When can we get started? How long do you think it would take?

How do you feel about Wayscript? If you prefer you can the sheets of code or whatever and I can have someone else convert them to wayscript but I dont think it adds to development time.

Let me know, I am interested and ready to move forward.

Andres

On Fri, Dec 24, 2021 at 9:41 AM Mathieu Colmon @.***> wrote:

Okay perfect ! So it will be possible to make the script when the #17 https://github.com/Mathieu2301/TradingView-API/issues/17 will be solved. (Required to parse labels data) And then I will need an account that have access to all indicators.

After reflexion, it's currently too complicated to imagine the structure of a possible Node-RED adaptation for TradingView-API (because of different session types, the need to add a backtesting framework, etc...). But I could surely make a tailor-made Node-RED flow for your needs (it's the same result for you).

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1000863248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UN3SZDCYHJDMMCY7ALUSSBCXANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Mathieu2301 commented 2 years ago

So... how long do you think before #17 is taken care of?

I've done it yesterday !

I can provide access to trading view whenever you like, let me know and I will send credentials to your email. Should I use the one on your github profile?

Yes ! mathieu@colmon.fr

As long as its the same result that would be fine. In a perfect world I would have the code in https://wayscript.com/...

Hmm so do you prefer Node-RED or WayScript ? I never used WayScript so it would be good if you send me videos like https://www.youtube.com/watch?v=qKmv-6CcVvY or https://www.youtube.com/watch?v=zDJGyVBFEi0 related to what you need (a module ? a script ?).

When can we get started? How long do you think it would take?

I can start as soon as I have access to the indicators. I think we can do the first step (getting data, making a backtest framework and test it with a very simple strategy to see if all is ok), and then try to do the adaptation for your favorite platform (WayScript or Node-RED). The first step can be done in less than an hour if no problem occurs... But because you told that the replay mode was sometimes required to get the full data, I can't guarantee anything (the replay mode isn't implemented in TradingView-API but I added an equivalent yesterday, and maybe it will work).

turnupdigital commented 2 years ago

I didnt realize things would be ready so quickly...

I think Wayscript is sort of an IDE but let's forget that for now....

I'd rather move forward with your original plan...

Im sending the email with credentials now along with a quick video.

On Mon, Dec 27, 2021 at 1:39 PM Mathieu Colmon @.***> wrote:

So... how long do you think before #17 https://github.com/Mathieu2301/TradingView-API/issues/17 is taken care of?

I've done it yesterday !

I can provide access to trading view whenever you like, let me know and I will send credentials to your email. Should I use the one on your github profile?

Yes ! @.***

As long as its the same result that would be fine. In a perfect world I would have the code in https://wayscript.com/...

Hmm so do you prefer Node-RED or WayScript ? I never used WayScript so it would be good if you send me videos like https://www.youtube.com/watch?v=qKmv-6CcVvY or https://www.youtube.com/watch?v=zDJGyVBFEi0 related to what you need (a module ? a script ?).

When can we get started? How long do you think it would take?

I can start as soon as I have access to the indicators. I think we can do the first step (getting data, making a backtest framework and test it with a very simple strategy to see if all is ok), and then try to do the adaptation for your favorite platform (WayScript or Node-RED). The first step can be done in less than an hour if no problem occurs... But because you told that the replay mode was sometimes required to get the full data, I can't guarantee anything (the replay mode isn't implemented in TradingView-API but I added an equivalent yesterday, and maybe it will work).

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1001695061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UKA66RQ7HJVAVCA3PTUTCXF3ANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

turnupdigital commented 2 years ago

Hello Mathieu!

Happy New Year! I hope you are doing well.

I was wondering how things where coming along?

Did you receive my video and access to Trading View?

Did I leave anything out or do you have any questions?

Please let me know if you need anything or have any questions.

I am open on payment method which ever service you prefer.

Thanks again for taking this on. I appreciate your efforts.

Thanks,

Andres

On Mon, Dec 27, 2021 at 10:02 PM Andres Garcia @.***> wrote:

I didnt realize things would be ready so quickly...

I think Wayscript is sort of an IDE but let's forget that for now....

I'd rather move forward with your original plan...

Im sending the email with credentials now along with a quick video.

On Mon, Dec 27, 2021 at 1:39 PM Mathieu Colmon @.***> wrote:

So... how long do you think before #17 https://github.com/Mathieu2301/TradingView-API/issues/17 is taken care of?

I've done it yesterday !

I can provide access to trading view whenever you like, let me know and I will send credentials to your email. Should I use the one on your github profile?

Yes ! @.***

As long as its the same result that would be fine. In a perfect world I would have the code in https://wayscript.com/...

Hmm so do you prefer Node-RED or WayScript ? I never used WayScript so it would be good if you send me videos like https://www.youtube.com/watch?v=qKmv-6CcVvY or https://www.youtube.com/watch?v=zDJGyVBFEi0 related to what you need (a module ? a script ?).

When can we get started? How long do you think it would take?

I can start as soon as I have access to the indicators. I think we can do the first step (getting data, making a backtest framework and test it with a very simple strategy to see if all is ok), and then try to do the adaptation for your favorite platform (WayScript or Node-RED). The first step can be done in less than an hour if no problem occurs... But because you told that the replay mode was sometimes required to get the full data, I can't guarantee anything (the replay mode isn't implemented in TradingView-API but I added an equivalent yesterday, and maybe it will work).

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1001695061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UKA66RQ7HJVAVCA3PTUTCXF3ANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Mathieu2301 commented 2 years ago

Hello, sorry I forgot to answer your email. I received everything I need but I was with my family the last few days and I am taking my semester exams for the next 10 days so I don't have much time. I will try to do it quickly as soon as possible so that you can have a beginning of result.

I am open on payment method which ever service you prefer.

I have a preference for GitHub sponsors.

Thank you, I'll get back to you quickly.

turnupdigital commented 2 years ago

Of course, it is the Holidays, I hope you have a good time with your family and friends.

I get it, that is fine, I will be patient. I want you to do well on your exams so I understand you have to focus on that for now.

Either way I am very excited about what's been discussed and look forward to seeing it come to life.

We will touch base soon.

Thanks,

Andres

On Sun, Jan 2, 2022 at 12:11 PM Mathieu Colmon @.***> wrote:

Hello, sorry I forgot to answer your email. I received everything I need but I was with my family the last few days and I am taking my semester exams for the next 10 days so I don't have much time. I will try to do it quickly as soon as possible so that you can have a beginning of result.

I am open on payment method which ever service you prefer.

I have a preference for GitHub sponsors https://github.com/sponsors/Mathieu2301.

Thank you, I'll get back to you quickly.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1003747065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UL4QFKPDUHYYZX6A6TUUCBN3ANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Mathieu2301 commented 2 years ago

I invited you in a private repository that I created for the project. I understand the scope of the project, in fact there are many indicators, each with different operations and certain peculiarities. I was a little optimistic about how long it was going to take me x) So I started by making a script that fetches the data from all indicators. Now we have to make the strategy and the trading simulation framework. You can test and see the results if you want, I put the instructions in the README.

Thank you, I take my exams from January 4 to 14, so I would probably not be very active on GitHub during these 10 days.

turnupdigital commented 2 years ago

Hello Mathieu,

I hope all of your tests went well. You seem rather capable so I am sure they did.

I wanted to give you some space and time but I am still very determined to get the work we discussed done.

I wanted to send you a follow up to let you know that I have in no way forgotten about this.

How can we proceed?

Andres

On Sun, Jan 2, 2022 at 2:52 PM Andres Garcia @.***> wrote:

Of course, it is the Holidays, I hope you have a good time with your family and friends.

I get it, that is fine, I will be patient. I want you to do well on your exams so I understand you have to focus on that for now.

Either way I am very excited about what's been discussed and look forward to seeing it come to life.

We will touch base soon.

Thanks,

Andres

On Sun, Jan 2, 2022 at 12:11 PM Mathieu Colmon @.***> wrote:

Hello, sorry I forgot to answer your email. I received everything I need but I was with my family the last few days and I am taking my semester exams for the next 10 days so I don't have much time. I will try to do it quickly as soon as possible so that you can have a beginning of result.

I am open on payment method which ever service you prefer.

I have a preference for GitHub sponsors https://github.com/sponsors/Mathieu2301.

Thank you, I'll get back to you quickly.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1003747065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UL4QFKPDUHYYZX6A6TUUCBN3ANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Mathieu2301 commented 2 years ago

Hello, thank you !

Currently, the main problem is with the "WTP Trend Lines" indicator. The data it sends depends on the candle we are looking at, so I can't fetch all the data at once.

turnupdigital commented 2 years ago

I have no ide idea how you’re doing what you’re doing but yes I’ve seen that…. The way to get all of the data going back in time is thorugh the replay mode https://www.youtube.com/watch?v=dlpjUS_lcYs I know it would significantly slow things down if we where to try and scrape it on the spot… but I figured we could do it once or feed it some symbols and it could grab data in the back ground… In replay mode you see all of WTP In replay mode

Mathieu2301 commented 2 years ago

Replay mode is not implemented in TradingView-API so I am trying to make a working copy of WTP trendlines which would be independent of where you are looking. But the current results aren't really good...

image image

I don't fully understand how this indicator works.

The other solution is to use the range fetching system (an alternative to replay mode) but it would take a lot of time every time.

turnupdigital commented 2 years ago

No no... I appreciate it my friend but I think I have a solution...

This is not the ideal scenario but I do have a backup plan... I thought this might happen with the closed code.

I've attached a version of the WPT Code in "ThinkScript" that is TD Ameritrader or "Think or Swim" Platform version of PineScript....

This will give us the signal... it is not exactly the same. They made some updates for Tradingview and it seems to be slight more accurate but only slightly. I can still get a good feel for performance using the attached code.

Here is a Visual Studio Add On for ThinkScript https://marketplace.visualstudio.com/items?itemName=LethalArts.tos-ts https://signal3domain.online/click?redirect=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3DLethalArts.tos-ts&dID=1643699283424&linkName=https://marketplace.visualstudio.com/items?itemName=LethalArts.tos-ts

I like the idea of a Node Red Based back tester as we spoke about...

Take a look, if you need it converted I can make it happen if you prefer to do it yourself that's fine too. I will just want to verify accuracy vs how it performs in the think or swim platform.

I can provide access to think or swim if you find it helpful...

Regards,

Andres

On Mon, Jan 31, 2022 at 8:49 AM Mathieu Colmon @.***> wrote:

Replay mode is not implemented in TradingView-API so I am trying to make a working copy of WTP trendlines which would be independent of where you are looking. But the current results aren't really good...

[image: image] https://signal3domain.online/click?redirect=https%3A%2F%2Fuser-images.githubusercontent.com%2F21021423%2F151719977-ad30017d-8bcd-4c4e-a784-818fa8ab69a2.png&dID=1643699283424

[image: image] https://signal3domain.online/click?redirect=https%3A%2F%2Fuser-images.githubusercontent.com%2F21021423%2F151720013-33459ae5-0d0d-4bd3-bba6-5522c3992ed3.png&dID=1643699283424

I don't fully understand how this indicator works.

The other solution is to use the range fetching system (an alternative to replay mode) but it would take a lot of time every time.

— Reply to this email directly, view it on GitHub <https://signal3domain.online/click?redirect=https%3A%2F%2Fgithub.com%2FMathieu2301%2FTradingView-API%2Fissues%2F30%23issuecomment-1025757865&dID=1643699283424&linkName=view it on GitHub>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UMAEKSZMISTRKA5253UY2HONANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://signal3domain.online/click?redirect=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&dID=1643699283424&linkName=iOS or Android https://signal3domain.online/click?redirect=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&dID=1643699283424&linkName=Android.

You are receiving this because you commented.Message ID: @.***>

Mathieu2301 commented 2 years ago

Finally I managed to implement the replay mode and it works. So I've created a Node-RED flow where I have separated the process of downloading data and that of analysis. The download process fetches approximately 15 candles/second depending on your network speed.

image
turnupdigital commented 2 years ago

Wooooooow....

Wooooow...

Thats crazy... so is there anyway to download the data in our own DB? So we can access faster?

I would want it to run in the background and just get data on every ticker symbol I feed it.

Im on a Windows Desktop Environment Hetzner Metal Server on a 1GBPS Port.

So what now? Im really amazed... wow

On Tue, Feb 1, 2022 at 5:06 PM Mathieu Colmon @.***> wrote:

Finally I managed to implement the replay mode and it works. So I've created a Node-RED flow where I have separated the process of downloading data and that of analysis. The download process fetches approximately 2 candles/second depending on your network speed. [image: image] https://user-images.githubusercontent.com/21021423/152059372-038a17f4-94d3-4da1-aeb0-9643bae1cd83.png

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1027333682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UKXHL2JL7CO4IY2LRTUZBKOZANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

turnupdigital commented 2 years ago

Hello Again,

I wanted to check on the status of things with you to see what the next steps are.

I'm very happy to see that we're able to grab all the data now so we can run some proper backtests.

So where do we go from here?

Let me I know and you will be compensated, I know we haven't discussed the details of that but I am ready to whenever you like. I do not expect you to work free.

Let me know if you need anything, it seems like the hard part may be done? Getting those indicators must have been very tricky.

Let me know,

Andres Garcia

⁣Get BlueMail for Android ​

On Feb 1, 2022, 11:33 PM, at 11:33 PM, Andres Garcia @.***> wrote:

Wooooooow....

Wooooow...

Thats crazy... so is there anyway to download the data in our own DB? So we can access faster?

I would want it to run in the background and just get data on every ticker symbol I feed it.

Im on a Windows Desktop Environment Hetzner Metal Server on a 1GBPS Port.

So what now? Im really amazed... wow

On Tue, Feb 1, 2022 at 5:06 PM Mathieu Colmon @.***> wrote:

Finally I managed to implement the replay mode and it works. So I've created a Node-RED flow where I have separated the process of downloading data and that of analysis. The download process fetches approximately 2 candles/second depending on your network speed. [image: image]

https://user-images.githubusercontent.com/21021423/152059372-038a17f4-94d3-4da1-aeb0-9643bae1cd83.png

— Reply to this email directly, view it on GitHub

https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1027333682, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AI7P3UKXHL2JL7CO4IY2LRTUZBKOZANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Mathieu2301 commented 2 years ago

Wow I thought I replied but I don't know what happend...

is there anyway to download the data in our own DB? So we can access faster?

So, for backtesting purpose, we have to use stored data (it's stored in a JSON file). But if you want to set up automated trading, we will only use live data.

So where do we go from here?

Now, I can make a backtesting framework: You give him :

And he returns you the whole list of trades and their performance, as well as the overall performance of the strategy.

So some settings I listed above may take time to implement. So now I'm interested in knowing as much as possible about your needs, so as not to implement a feature that will be useless. Knowing that the operation of the backtesting framework must be as close as possible to that of the broker you are using.

Let me I know and you will be compensated, I know we haven't discussed the details of that but I am ready to whenever you like. I do not expect you to work free.

So it will depend on your needs about the backtesting framework. I think I can do this for you for between $330 and $680 (including what I've done since the beginning). If you need me to connect the system with the broker, that can be included as well. Tell me what you think, I don't want to ask too much, it's just that I need to buy a vacuum cleaner lol.

Thank you,

Mathieu C.

turnupdigital commented 2 years ago

I was relieved to see your reply, Im very happy that you are still on board.

I waited until just now to open and read your email.

It's funny how this thing came together, like it was meant to be.

There is another layer that's been worked on for a couple of months... you need to know about it.

It answers all the questions you have... I will explain in the video.

Very soon... I just have to collect my thoughts... this is going to be beautiful.

Let's do this man....

Andres

On Tue, Feb 8, 2022 at 8:15 PM Mathieu Colmon @.***> wrote:

Wow I thought I replied but I don't know what happend...

is there anyway to download the data in our own DB? So we can access faster?

So, for backtesting purpose, we have to use stored data (it's stored in a JSON file). But if you want to set up automated trading, we will only use live data.

So where do we go from here?

Now, I can make a backtesting framework: You give him :

  • Your starting capital
  • All the conditions to enter / exit a trade
  • The leverage
  • The size of the trade :
    • % of the capital
    • Fixed size
    • Something else
  • The type of stop-loss / take-profit, depending on your risk-management strategy:
    • % of the trade
    • % of the capital
    • No SL / TP
    • Something else
  • The commissions (spread, % for each trade, etc...)
  • The maximum number of simultaneous trades (pyramiding)
  • Is it possible to have a SHORT trade and a BUY trade open at the same time? (Or opening a short trade closes all buy trades and vice versa)

And he returns you the whole list of trades and their performance, as well as the overall performance of the strategy.

So some settings I listed above may take time to implement. So now I'm interested in knowing as much as possible about your needs, so as not to implement a feature that will be useless. Knowing that the operation of the backtesting framework must be as close as possible to that of the broker you are using.

Let me I know and you will be compensated, I know we haven't discussed the details of that but I am ready to whenever you like. I do not expect you to work free.

So it will depend on your needs about the backtesting framework. I think I can do this for you for between $330 and $680 (including what I've done since the beginning). If you need me to connect the system with the broker, that can be included as well. Tell me what you think, I don't want to ask too much, it's just that I need to buy a vacuum cleaner lol.

Thank you,

Mathieu C.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1033228138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3ULWGE37DIKN5KPRWVDU2G52BANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

turnupdigital commented 2 years ago

and I want to send some advance payment now. So you know that I will pay you. Paypal or Github or Western Union?

On Wed, Feb 9, 2022 at 9:45 AM Andres Garcia @.***> wrote:

I was relieved to see your reply, Im very happy that you are still on board.

I waited until just now to open and read your email.

It's funny how this thing came together, like it was meant to be.

There is another layer that's been worked on for a couple of months... you need to know about it.

It answers all the questions you have... I will explain in the video.

Very soon... I just have to collect my thoughts... this is going to be beautiful.

Let's do this man....

Andres

On Tue, Feb 8, 2022 at 8:15 PM Mathieu Colmon @.***> wrote:

Wow I thought I replied but I don't know what happend...

is there anyway to download the data in our own DB? So we can access faster?

So, for backtesting purpose, we have to use stored data (it's stored in a JSON file). But if you want to set up automated trading, we will only use live data.

So where do we go from here?

Now, I can make a backtesting framework: You give him :

  • Your starting capital
  • All the conditions to enter / exit a trade
  • The leverage
  • The size of the trade :
    • % of the capital
    • Fixed size
    • Something else
  • The type of stop-loss / take-profit, depending on your risk-management strategy:
    • % of the trade
    • % of the capital
    • No SL / TP
    • Something else
  • The commissions (spread, % for each trade, etc...)
  • The maximum number of simultaneous trades (pyramiding)
  • Is it possible to have a SHORT trade and a BUY trade open at the same time? (Or opening a short trade closes all buy trades and vice versa)

And he returns you the whole list of trades and their performance, as well as the overall performance of the strategy.

So some settings I listed above may take time to implement. So now I'm interested in knowing as much as possible about your needs, so as not to implement a feature that will be useless. Knowing that the operation of the backtesting framework must be as close as possible to that of the broker you are using.

Let me I know and you will be compensated, I know we haven't discussed the details of that but I am ready to whenever you like. I do not expect you to work free.

So it will depend on your needs about the backtesting framework. I think I can do this for you for between $330 and $680 (including what I've done since the beginning). If you need me to connect the system with the broker, that can be included as well. Tell me what you think, I don't want to ask too much, it's just that I need to buy a vacuum cleaner lol.

Thank you,

Mathieu C.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1033228138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3ULWGE37DIKN5KPRWVDU2G52BANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Mathieu2301 commented 2 years ago

It answers all the questions you have... I will explain in the video.

Great, I'm waiting for it !

I want to send some advance payment now. So you know that I will pay you. Paypal or Github or Western Union?

Thank you, it is as you prefer:

turnupdigital commented 2 years ago

So I sent the Paypal and we'll do the balance on delivery.

The video I will have to do tomorrow night... My Saturday night. Time is tight otherwise.

You'll hear from me soon.

Andres

On Thu, Feb 10, 2022 at 5:40 AM Mathieu Colmon @.***> wrote:

It answers all the questions you have... I will explain in the video.

Great, I'm waiting for it !

I want to send some advance payment now. So you know that I will pay you. Paypal or Github or Western Union?

Thank you, it is as you prefer:

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1034761358, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UOAZZMML2SI4NQY3DTU2OI2TANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

mtahreemalam commented 2 years ago

Hello @turnupdigital, Can you please set it up for me aswell? I willing to pay the charges. I have a supertrend strategy on pinescript. I want to test multiple input values across different pairs to get backtest results. Is it possible? If yes, kindly let me know

turnupdigital commented 2 years ago

I sent an email with a lot of info I sent it to... @. Did you recieve it? Thanks Andres Get BlueMail https://bluemail.me for Desktop Mathieu Colmon wrote: Hello, thank you ! Currently, the main problem is with the "WTP Trend Lines" indicator. The data it sends depends on the candle we are looking at, so I can't fetch all the data at once. — Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1024293337 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UK7TTNU6GD5SX4TAKTUYKUD5ANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you commented.Message ID: @.>

Mathieu2301 commented 2 years ago

Did you recieve it?

Hello, I received the email and the payment, thank you! I will take the time to look at this.

Mathieu2301 commented 2 years ago

Can you please set it up for me aswell? I willing to pay the charges. I have a supertrend strategy on pinescript. I want to test multiple input values across different pairs to get backtest results. Is it possible? If yes, kindly let me know

Hello @mtahreemalam, if you have a project request, please create a new issue and provide as much information as possible. Thank you

turnupdigital commented 2 years ago

Hello Mathieu,

I found this new software for working on API's that I really like.

I feel like it could help with this project but I dont know if it adds an unnecessary layer of complexity.

https://apipheny.io/

Let me know when you're ready for the other part of the Node Red code or your general thoughts.

Thanks,

Andres

turnupdigital commented 2 years ago

Hello Mathieu,

I haven't heard anything in a week, Im getting worried.

Listen, if I asked for too much, just let me know... we can keep the original plan in tact and you can just do the backtester, they dont necessarily be joined.

I run each ticker through the backtester and move data to spreadsheet myself... I dont want to slow things down for you.

The few times that you've gone dark for a bit you've come up with something brilliant so I'm sure that you are just deep in your zone... but shoot me a quick update so my anxiety calms down a bit :-)

Thanks bud,

Andres Garcia

Mathieu2301 commented 2 years ago

I have too much work this week but i'm free next week. Sorry for the wait...

turnupdigital commented 2 years ago

Mathieu, After some consideration I've decided to keep the back tester and the actual trading separate. Don't worry about the long communication I sent before. It really seemed like the solution was nearly done and my over the top request just really slowed everything down. There are two green arrows (Black Letters and White Letters) and there are two Red Arrows...

So the combos I would like to see: Open When:

I would want to know performance for possible combinations of the above... so 9 for that set? It would help me determine the best logic for each ticker.

I also want to see what happens when:

I will then manually put the strategy into the system... there is no need for automation. No need for you to worry about the trades being executed. Those are all the combinations I would like to see as an output... Let me know your thoughts. I am hoping this reduces the complexity and time you have to invest. Thanks, Andres Garcia

turnupdigital commented 2 years ago

Mathieu, Any update? I think that you where working on it a bit this week? Hopefully my requests are reasonable. Let me know, I'd love to know how things are going? Thanks, Andres

Mathieu2301 commented 2 years ago

Hello ! What takes the most time is fully understanding your request and writing precise specifications. Don't worry about the difficulty of making it. If it's taking a long time it's only because I haven't had the time so far to look into it 100%. I'll come back to you in a few hours to show you what I did.

Mathieu2301 commented 2 years ago

I just added the 9 first strategies and wow, I did not expect such good results !

image

This is on BTCEUR so I will download full ES1! and NQ1! data to try.

Mathieu2301 commented 2 years ago

So It calculates different statistics for long trades, short trades and both.

image
turnupdigital commented 2 years ago

Perfect, that's what I need...

So what's next?

Mathieu2301 commented 2 years ago

I tried with ES1! and NQ1! and the results are way more instable than with BTC 😬.

image

So what's next?

I will try to add this:

Open Short when Prices goes over the 1st 2nd 3rd 4th line of the Red Cloud and top line of keltner channel Close it when:

  • Price goes below the clouds
  • Buy Signal
  • Prices touches the upperband of the Kelner channel

Opposite with long....

Mathieu2301 commented 2 years ago

So it works badly with S&P500:

image

Not at all with NASDAQ100:

image

But it works well with BTC:

image
turnupdigital commented 2 years ago

Very interesting....

A combination of all the different strategies will be used to implement what should happen with each signal that comes in to open, close and manage open trades.

Im still working on the other part with the IBKR API... but I think I have the job simplified enough to where I can have someone do it.

I have complete manual I found with step by step instructions with code snippets... Im just going to have someone code this thing so it can place a trade based on an incoming webhook.... work in progress Im still discussing it with a few people.

Anyways... this is tons of progress, I am very happy.

When do you think I'll be able to get my hand on it?

I would love to do some research while I work on the execution bot or code or whatever it its going to be....

I am very excited and I really want to start playing with it... but I am very grateful you're working on this for me so I can give you the space and time you need.

Let me know, what's next!

Andres

On Sun, Mar 6, 2022 at 1:52 PM Mathieu Colmon @.***> wrote:

So it works badly with S&P500: [image: image] https://user-images.githubusercontent.com/21021423/156937610-72b63ce3-e616-4b0a-8907-68fe7f795f72.png

Not at all with NASDAQ100: [image: image] https://user-images.githubusercontent.com/21021423/156937629-d34c735f-ebb6-4724-b086-8ec527fdbe29.png

But it works well with BTC: [image: image] https://user-images.githubusercontent.com/21021423/156937693-077feec9-da45-4f69-b6d2-15a96731f9a6.png

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1060018093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UOWWTUPQGXIOU43RI3U6T5FVANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

turnupdigital commented 2 years ago

Holy shit! Im just seeing this!

This look amazing!

On Sat, Mar 5, 2022 at 8:06 AM Mathieu Colmon @.***> wrote:

I just added the 9 first strategies and wow, I did not expect such good results !

[image: image] https://user-images.githubusercontent.com/21021423/156884031-012ca437-8849-4769-859d-6f4cb4a3a970.png

This is on BTCEUR so I will download full ES1! and NQ1! data to try.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1059761450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UOKFOJHER763DS7TV3U6NL4FANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

turnupdigital commented 2 years ago

Hello Mathieu,

What are you thinking about delivery?

How can we do this?

I would love to get my hands on the flows and the code. It looks like it is done. As long as we have samples I can have my developer redo any additional logic that may be done.

Let me me how we can proceed please.

Andres Garcia

On Sun, Mar 6, 2022, 9:55 PM Andres Garcia @.***> wrote:

Holy shit! Im just seeing this!

This look amazing!

On Sat, Mar 5, 2022 at 8:06 AM Mathieu Colmon @.***> wrote:

I just added the 9 first strategies and wow, I did not expect such good results !

[image: image] https://user-images.githubusercontent.com/21021423/156884031-012ca437-8849-4769-859d-6f4cb4a3a970.png

This is on BTCEUR so I will download full ES1! and NQ1! data to try.

— Reply to this email directly, view it on GitHub https://github.com/Mathieu2301/TradingView-API/issues/30#issuecomment-1059761450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI7P3UOKFOJHER763DS7TV3U6NL4FANCNFSM5JWTJCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Mathieu2301 commented 2 years ago

Hello, I just shared with you a GDrive folder with the Node-RED flow and some downloaded heavy market data. Please tell me if you have any problem accessing or running it.

turnupdigital commented 2 years ago

Mathieu, I am sorry for the long the delay. I have just now loaded the nodes and taken a look at what you delivered. You provided sample data so I thought you where holding on part of the code... but if I am reading things correctly it looks like you delivered the entire project. I was trying to train that coder but they just couldn't grasp the trading terminology so I had to let them go. In any case, we need to settle up... I feel bad that it's taken this long since I had the whole project this whole time. I have only 1 request because I do not have my code person... can you please record your screen and show me how you make it work... I can copy your steps you dont even have to say anything if you dont want to. Pretend as if you are just getting a new flow and start from importing to starting the data download and doing the test and seeing the results. I can figure it out by copying what you do on screen. The plan was to have the coder look at it and verify that it worked but thats not an option right now so I can see how you work with it and I have something to copy then we're good and we can close the project and settle up. I really appreciate what you have done here. Andres Garcia

Mathieu2301 commented 2 years ago

Hello, no problem I will send you that as soon as possible 😉

PedramMarandi commented 2 years ago

@turnupdigital @Mathieu2301 Is there any chance that you guys are willing to open source some of the examples for backtesting?

Mathieu2301 commented 2 years ago

Hello @turnupdigital, I emailed you the video on April 22 and I did not receive any answer since then. How are you? Are you having any issues with the project?

Mathieu2301 commented 2 years ago

Hello @PedramMarandi, I don't think the code will be released as open-source since it's a service for Andres. Of course you are free to discuss it with him.