A script in Pinescript that allows you to buy and sell - automation

I had a script created in Pinescript that I inserted into Tradingview. From a test that I can do inside Tradingview, I see that the script runs very well. Now, however, I find myself unable to link it with any Exchange (FTX and Binance do not take scripts already made in Pinescript) to run it and allow me to make purchases and sales automatically.
What do you recommend that I do?
Thank you very much!

Related

Automate Custom Report Export in Shopify without Shopify Apps

I'm trying to automate some process that requires downloading a custom report created from Shopify Admin daily. I tried resort to Shopify API to manually pull orders via the Order API, however, the process requires going through pagination which took several minutes to go through a few thousands of orders while it will only a few seconds to manually export the csv file from the Shopify Admin page.
So I'm just wondering if it's possible to implement a service that export those custom reports that were created in Shopify Admin into a csv file without human interaction?
Cheers!
Sure. Just write some Javascript to run in the admin that will do the custom report for you, without pushing all the buttons you'd push manually. You can fake being human that way and automate things. Once you have that straightened away, you could setup a service that would run that scripting automatically when you wanted, say on a schedule.
Of course, the old pokey way you pointed out is probably way easier, but as you say, it takes minutes and hey, who has minutes to spare!
I am not sure if it can solve your problem. I use a cloud data platform (not Shopify Apps) called Acho to retrieve data from Shopify and then export the report to Google Sheets automatically. Sometimes, I also create my own reports on the platform before exporting them to Google Sheets. I think it can somehow reduce lots of manual works. You can try its free trial if you are interested.

Can Bixby invoke an existing SmartThings automation?

Can't find any documentation on the Bixby verbal command to invoke an existing SmartThings automation
I know how to speak a Bixby command to CREATE a SmartThings automation to run at a later time, but not to invoke one that is already created
none
I expect it should be able to do this. Also, is it possible for Bixby to create an automation that runs everyday, not just ONCE
...update... I found that this can be done by including the phrase "every day" in the command. e.g. :"Hi Bixby, turn off the entry light every day at 7:00AM"
I would recommend looking into the SmartThings documentation for help with integration (https://smartthings.developer.samsung.com/).

How to schedule the orders Export in BigCommerce?

How can we schedule the orders to be exported into FTP for every 1 hour in the big commerce? I can export it manually but i need something to run automatically to export the orders data to FTP.Is it possible in BigCommerce?
Thanks,
Manoj
You could write a script to pull orders from the API on an hourly interval (or even better, respond to orders as they come in by using webhooks). If you needed to retrieve the orders from a folder in WebDAV, you could also automate the browser with Selenium to do regular order exports.
At this time you are not able to schedule downloads from the FTP. You can write your own program to do that. We also offer webhooks where you can get order notifications in almost real time. This will also require custom coding and if you need assistance we have a list of partners who can help out.
https://developer.bigcommerce.com/api/#webhooks-overview

BigQuery connecting from GSheet without enabling API every time

I have some scripts running from GSheet getting data from BigQuery. However, in order to make the files run, I need to manually enable the API every time for a given sheet.
So the question is: How to enable API within the code, so that if I share the GSheet or make a copy I don't have to go to the script editor and enable the API from there?
Thanks
I am a huge fan of this particular use of the Google ecosystem, so I'm happy to help get others up and running using GSheets with BigQuery! Hopefully it is working well for you!
When sharing the sheet with others, there is no need to alter anything in the script editor at all. The scripts should run and query BigQuery without issue; this has been my experience at least. The obvious caveat to this is that the users you share it with must have access to the Google Developer Project that the BigQuery instance is associated with.
However, when copying the sheet, I do not believe it is possible to have it replicate the connection. This is because when the file is copied, it becomes associated with a new Google Developer Project. Thus, you have to go into the script editor, then go to Resources > Developers Console Project and change the project listed to the one in which you have BigQuery enabled.
Hopefully this helps! Sorry I don't have better news for you!

Automation WorkTask

need your idea guys how to develop Automation WorkTask.
Actually, i want to create a automation WorkTask by pulling the data from SQL. I always used a website : XXX to submit Work Task. In another hand, i need to pull the data from SQL. SO, i will used the data from SQL and manually insert to the website to submit Work Task. my idea is, i want to make it as one. meaning that, whenever, i pull the data, it will automatically, send the data to the website and auto submit Work Task. can anyone help me to do that? or it is impossible? - Noobiest SQL
Use a Console Application. From there you can extract the data, format it in any way you want and even automate the upload of that information using the .NET library.
Then with the windows scheduler, you can tell it to run however often you need to.
For example, I have an application that runs every 5 minutes, reads a database, gets the info, then executes a number of tasks using it. It's scheduled to run every 5 minutes.