Trading with logic

Trading with logic

Author
Discussion

HowMuchLonger

Original Poster:

3,012 posts

199 months

Thursday 21st October 2010
quotequote all
Is it possible to trade shares using logic:

i.e if (share price > x) then (sell 100 shares, and place order at x-y).

At the moment I do this manually which is fairly time consuming, is there any way to automate it?

Vladimir Pukin

1,086 posts

223 months

Thursday 21st October 2010
quotequote all
I assume you mean with some sort of trading portal available to the general public rather than writing your own system and attaching to an exchange API?

HowMuchLonger

Original Poster:

3,012 posts

199 months

Thursday 21st October 2010
quotequote all
I am currently trading with barclays, so ideally something that can just plug into their trading platform.

With regards to "exchange API" I have no idea what this means, I am only a simple country person.

Edited by HowMuchLonger on Thursday 21st October 17:15

deeen

6,098 posts

251 months

Thursday 21st October 2010
quotequote all
It's possible with spread bets and CFDs, so i assume there must be a site that will do it with shares. You could always work out what CFDs relate to the level of shares you want, and place automated orders that way.

HowMuchLonger

Original Poster:

3,012 posts

199 months

Thursday 21st October 2010
quotequote all
Unfortunately I cant spread bet or use cfd's as they dont cover the companies i am trading in (small market cap). Which is also a pig with regards to paying cgt.

jeff m

4,060 posts

264 months

Friday 22nd October 2010
quotequote all
Can you use limit buy and sells using Barclays platform?

example; you have a share that you would like to sell at 100, it is currently sitting at 96 but of course you can't sit there all day clicking refreshbiggrin

Place a limit sell order for X thousand shares @ 100.
If it reaches 100 they are sold, if it doesn't the order expires.

From an investment or trading perspective limit buys are more useful as you can pick up shares at "your" price on a down day. Then sell at market when they have passed your target price. (Assuming of course your limit buy was executed)

HowMuchLonger

Original Poster:

3,012 posts

199 months

Friday 22nd October 2010
quotequote all
jeff m said:
Can you use limit buy and sells using Barclays platform?

example; you have a share that you would like to sell at 100, it is currently sitting at 96 but of course you can't sit there all day clicking refreshbiggrin

Place a limit sell order for X thousand shares @ 100.
If it reaches 100 they are sold, if it doesn't the order expires.

From an investment or trading perspective limit buys are more useful as you can pick up shares at "your" price on a down day. Then sell at market when they have passed your target price. (Assuming of course your limit buy was executed)
I can set limit buys and sells. What I am looking to do though is this:

When a limit sell of 1000 shares executes @ 100p, it automatically submits a limit buy order of 1050 shares @95p.

I do not want the buy order to be active until the sell is executed.

DonkeyApple

57,921 posts

175 months

Friday 22nd October 2010
quotequote all
HowMuchLonger said:
Is it possible to trade shares using logic:

i.e if (share price > x) then (sell 100 shares, and place order at x-y).

At the moment I do this manually which is fairly time consuming, is there any way to automate it?
PM me and I'll explain what you can do etc.

Won't be until Monday if that's OK.

HowMuchLonger

Original Poster:

3,012 posts

199 months

Friday 22nd October 2010
quotequote all
Thank you very much.