Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So iv gotten addicted to trading recently and am doing ok..ish so far.But i want to do some algo trading and test some techniques iv been cooking up ...the only problem is that the Platform i do my trading with doesn't have an API ...and when asked they said they're not even thinking of it anytime soon.So i made some small Selenium IDE recordings that i can trigger manually to do some trading routines for me ....But its kind of crappy because i have to manually trigger it to go do stuff for me. And its not even half of what im trying to acheive

So i thought why not write some code (python preferably...only because iv only got 1 project in my entire coding portfolio) that can receive and post data to get a market price and initiate a trade automatically ...Luckily Selenium IDE has a conversion to code kind of thing that you can use ...too bad half of it doesn't work when you run it in code format. So i was thinking is there not an easier way to do this ....Maybe by GET/POST requests or something else ...?¿Because technically all i need to do is scrape certain data from an array of different URL's then send post requests to open and close trades ...the trading logic and everything else can be done in the code.

I thought it can't be that hard because iv made webscraping tools in C# last year but its proving more tricky than i thought.

Also Selenium is kind of slow and shows everything happening which isn't a neccesity which i don't really mind because im going to have all the tabs open so everything's faster.

If so please could you point me in the write direction.

What I have tried:

Iv tried SELENIUM IDE..selenium webdriver and combining it with python code but its just full of bugs(look at my last question tbh if you could help me with that aswell that would be nice )
Posted
Updated 10-Aug-20 17:36pm

1 solution

Yeah, web scraping is definitely doing it the hard way.

You would be much better served finding a trading platform that does support code-base trading. There's tons of them out there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900