Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, AndrewAMD, Imhotep, TipmyPip, Edgar_Herrera), 809 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Downloading and Displaying Stock Market Data #415134
01/14/13 11:19
01/14/13 11:19
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
Hello,

I'm complete newbie in programming world, but I've chosen to create stock market database and the way to display those. This is my high school project, if I fail I'll fail my way to get into University. I really wanted to do everything on my own, but I've failed, I have tried some basic javascripts to find and download data off the website like google's stock market page.
Then I have moved onto cURL, but again I couldn't get it working at first, when I've won with that it wasn't ideal because it was really hard to get around. Then I have found Zorro, I really want to use it, but I don't know how.

Can anybody please help me in putting it into VSC++ and telling me how to save selected variables in the easy way for SQL use to create database? I tried some tutorials, but I can just put it all together, beside that I can't do anything smirk

sorry... smirk


A name means nothing on the battlefield.
After a week no one has a name.
Re: Downloading and Displaying Stock Market Data [Re: DejaVu] #415137
01/14/13 11:28
01/14/13 11:28
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Do you need really single stocks for your project, or will currencies and stock indexes do as well? In that case you can just use Zorro's current FXCM plugin for downloading price data. FXCM has no stocks, though, so we had to find a different solution when you really need stocks.




Re: Downloading and Displaying Stock Market Data [Re: jcl] #415142
01/14/13 11:59
01/14/13 11:59
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
I was thinking of downloading currencies, prices of minerals(gold etc) and financial instruments, but I don't want to move on more than FXCM provides, it will be advanced enough, even too much, of course if it works.

Thanks for reply!


A name means nothing on the battlefield.
After a week no one has a name.
Re: Downloading and Displaying Stock Market Data [Re: DejaVu] #415143
01/14/13 12:03
01/14/13 12:03
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Ok, next question is what do you want to do with the prices? A SQL database is normally not required and also not suited for storing price series.

Re: Downloading and Displaying Stock Market Data [Re: jcl] #415144
01/14/13 12:07
01/14/13 12:07
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
I wanted to create the database of downloaded data, so the database is being iteracted with, not the hole program. Next program will open the databse and display graphs, diagrams or basic tables of selected currencies/minerals etc. or all. Is that hard or would you recommend me different way?

EDIT: Display graphs, diagrams or basic tables of database of selected currencies/minerals etc or all of those

Last edited by DejaVu; 01/14/13 12:08.

A name means nothing on the battlefield.
After a week no one has a name.
Re: Downloading and Displaying Stock Market Data [Re: DejaVu] #415146
01/14/13 12:27
01/14/13 12:27
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Storing the prices in a database is not hard, but it's harder than not storing them in a database, for in the latter case you won't need all that database stuff.

For displaying graphs or tables you need no database. You just need a program, such as Zorro or even Excel, that can display data series in graphs.

Re: Downloading and Displaying Stock Market Data [Re: jcl] #415149
01/14/13 12:33
01/14/13 12:33
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
I do know that, but it's a high school project, if you show how advanced it is, how you can use that stuff and be professional you'll get a lot of marks. Btw, I'll learn some side skills and can show the program I've build with the help I asked for and what skills I have learned bla bla bla.

But if you insist I'll stay with excel, but I still have to program it, can't use ready programs.


A name means nothing on the battlefield.
After a week no one has a name.
Re: Downloading and Displaying Stock Market Data [Re: DejaVu] #415258
01/15/13 21:36
01/15/13 21:36
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
When I try to compile it, just as this page tells me to, I get this:

Quote:
1>------ Build started: Project: FXCM TryFail TakeNo1, Configuration: Debug Win32 ------
1> dllmain.cpp
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(25): error C2146: syntax error : missing ';' before identifier 'time'
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(30): error C2146: syntax error : missing ';' before identifier 'time_base'
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(211): error C2146: syntax error : missing ';' before identifier 'timeStart'
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(211): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\master roshi\documents\visual studio 2010\projects\fxcm tryfail takeno1\fxcm tryfail takeno1\trading.h(211): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


A name means nothing on the battlefield.
After a week no one has a name.
Re: Downloading and Displaying Stock Market Data [Re: DejaVu] #415286
01/16/13 14:01
01/16/13 14:01
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The errors look as if the DATE definition is missing in your code. It's in the example in the source folder - make sure to define it before including trading.h.

Look here: http://manual.zorro-trader.com/brokerplugin.htm

You do not need to compile the FXCM DLL yourself as you can find a compiled version already in the "Plugins" folder.

Re: Downloading and Displaying Stock Market Data [Re: jcl] #415295
01/16/13 18:59
01/16/13 18:59
Joined: Jan 2013
Posts: 11
DejaVu Offline OP
Newbie
DejaVu  Offline OP
Newbie

Joined: Jan 2013
Posts: 11
As I've said, I've done all of those steps from this website, from the sections "Broker Plugin". What should I do next in order to solve problems and outline downloaded data? Okay, so how do I add on the compiled version of FXCM.dll?



A name means nothing on the battlefield.
After a week no one has a name.
Page 1 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1