Ordering and getting data directly by my program

so, what I need/want is a simple command from C that sends

an order to the broker.

And another simple command that gives me the actual limit data

and executed positions from the broker.

And another simple C-comand that lets me download and access

actual market data.

And that all from running my own analysis-program in C

from a separate computer.

Strategies are then submitted as subroutines.

Trading signals as additional links where to download

the signals automatically. Or get them as email

and access it from the analysis program.

But I don’t want to just run 3rd party-software, I want to

keep control from my analysis program (to be written…)

Is it possible ? Does it exist ? (it should …)