NexusFi: Find Your Edge


Home Menu

 





help with basic programming: database, excel , web data collection


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one GridKing with 6 posts (0 thanks)
    2. looks_two furytrader with 4 posts (3 thanks)
    3. looks_3 bukkan with 3 posts (3 thanks)
    4. looks_4 devdas with 1 posts (0 thanks)
    1. trending_up 8,226 views
    2. thumb_up 6 thanks given
    3. group 2 followers
    1. forum 14 posts
    2. attach_file 0 attachments




 
Search this Thread

help with basic programming: database, excel , web data collection

  #11 (permalink)
 
devdas's Avatar
 devdas 
Al,India
 
Experience: Advanced
Platform: NinjaTrader
Broker: Z
Trading: NiftyFuture
Posts: 1,562 since Feb 2010
Thanks Given: 1,513
Thanks Received: 1,701

hope its not off-topic...but i really dont know...

1 ) what kind of database , NinjaTrader uses to store tick prices ?

2) Is it possible ( if yes, then how...i guess surely with VS ) to access/edit that database without opening NinjaTrader ?

Harvest The Moon
Nest The Market
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #12 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271

have a peep at gomis stuffs.

Reply With Quote
Thanked by:
  #13 (permalink)
 
GridKing's Avatar
 GridKing 
San Diego, CA USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 3,630 since May 2011
Thanks Given: 584
Thanks Received: 881


1) should i be concerned about security issues or is visual studio secure enough on it's own by sending requests, sorry if that's a simple question just starting from scratch or less than scratch

2) can you just spout off some of the things I should consider so that i don't end up with a million files or errors from existing files, should I just figure out how to have it check if file exists and if so replace, if not create, or should I figure out how to add to an existing file or what?

3) Is it possible and convenient or uncomplicated to use a dde link as the final entry so that everything is current, example , would it be simple to use a dde link directly in a form component like a textbox or something or is it complicated and best left in excel?

4) about the csv or other text files should I have them saved as excel files or work directly with text or access or what? And should each file be separate book or just pages?

Thanks again, if you have the time, still in thinking stage

wanted to do this for a long time but it seemed like seeking answers brought more questions , now that I know which avenue to take I think I can figure it out pretty well, just want to plan ahead a bit

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #14 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271

1. depends on what do you mean by security.
2. normally to write data i use the System.IO.StreamWriter, it has multiple constuctors, one which overwrites existing file or appends to an existing file etc. Just have a peep on that.
3. .Net natively dosent supports DDE (obsolate technology). But there are library which does (NDDE). but dde is more like linking a file and get update in rt, not for if you want to write some file etc.
4. csv is the best option. just make sure the separator is a comma, and the file extension is .csv. for excel there is a completely different namespace fully configurable as you like.

Reply With Quote
  #15 (permalink)
 
GridKing's Avatar
 GridKing 
San Diego, CA USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 3,630 since May 2011
Thanks Given: 584
Thanks Received: 881

well I pretty much found everything that I would need that can be downloaded as files from the site I used in the example and wsj and barchart accept that I think wsj uses different names not certain , I started a little bit today and was able to have a file downloaded no errors so I guess it's a good start...this is what I came up with??

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim fileExists As Boolean
fileExists = My.Computer.FileSystem.FileExists("I:\Excel Documents DB1\test.csv")
If fileExists = True Then
My.Computer.FileSystem.DeleteFile("I:\Excel Documents DB1\test.csv", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.SendToRecycleBin)
End If

My.Computer.Network.DownloadFile("http://www.patterntrapper.com/ES.csv", "I:\Excel Documents DB1\test.csv")
MsgBox("Update Complete")

does that seem good enough?



Thanks for your help!

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on July 7, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts