Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: I am new to this group and post my first request
Thanks joe,
toggle quoted message
Show quoted text
But you are not answering my question. I should have NEVER posted being interested in es minis. I should have picked a stock with SLOW. LOW volume. No one is answering how to do that. Instead all the shit I get back is why my idea is a bad one. Again I am looking to reord historical ticks. Doubt that helps but at lest i tried. -------------------------------------------- On Wed, 6/1/16, Broom IAmBroom@... [TWSAPI] <TWSAPI@...> wrote:
Subject: [TWS API] Re: I am new to this group and post my first request To: TWSAPI@... Date: Wednesday, June 1, 2016, 7:51 AM ? Hi, Mike. >?I would like to start downloading data on stocks or futures on a tick-by-tick basis. I would like to RECORD and import (export from wherever is required from IB) this data to an MS Excel format. From there I will know how to program the spreadsheet and analyse the data as I see fit (don't want to confuse any readers with too much ultimate detail at this point).? As I understand that sentence, it is not a workable idea. First, the amount of data you are describing would quickly fill the limits of Excel rows or columns. Second, writing data to an Excel cell takes time - more time than simply storing it in a variable, even if the spreadsheet is set to not visibly update cells to the user (but FAR MORE TIME if it does try to stay current). You'll be bogging down the program with updates, keeping it from processing the information into decisions. Finally, I'm not sure - someone else can verify or refute this - but I don't believe the TWS connection can reliably give you tick-by-tick data in near-real-time. (Please correct me if I'm wrong here, folks - I don't look at that level of data). Therefore, it would be best to send the data to a text file, and keep only the last N data points (or S seconds worth of data, or whatever) handy in memory. When the program loads, it can easily load the tail end of the last data output to a file, and use that to fill the array of most-recent data points. --Joe #yiv6105900793 #yiv6105900793 -- #yiv6105900793ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;} #yiv6105900793 #yiv6105900793ygrp-mkp hr { border:1px solid #d8d8d8;} #yiv6105900793 #yiv6105900793ygrp-mkp #yiv6105900793hd { color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;} #yiv6105900793 #yiv6105900793ygrp-mkp #yiv6105900793ads { margin-bottom:10px;} #yiv6105900793 #yiv6105900793ygrp-mkp .yiv6105900793ad { padding:0 0;} #yiv6105900793 #yiv6105900793ygrp-mkp .yiv6105900793ad p { margin:0;} #yiv6105900793 #yiv6105900793ygrp-mkp .yiv6105900793ad a { color:#0000ff;text-decoration:none;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ygrp-lc { font-family:Arial;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ygrp-lc #yiv6105900793hd { margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ygrp-lc .yiv6105900793ad { margin-bottom:10px;padding:0 0;} #yiv6105900793 #yiv6105900793actions { font-family:Verdana;font-size:11px;padding:10px 0;} #yiv6105900793 #yiv6105900793activity { background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;} #yiv6105900793 #yiv6105900793activity span { font-weight:700;} #yiv6105900793 #yiv6105900793activity span:first-child { text-transform:uppercase;} #yiv6105900793 #yiv6105900793activity span a { color:#5085b6;text-decoration:none;} #yiv6105900793 #yiv6105900793activity span span { color:#ff7900;} #yiv6105900793 #yiv6105900793activity span .yiv6105900793underline { text-decoration:underline;} #yiv6105900793 .yiv6105900793attach { clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;} #yiv6105900793 .yiv6105900793attach div a { text-decoration:none;} #yiv6105900793 .yiv6105900793attach img { border:none;padding-right:5px;} #yiv6105900793 .yiv6105900793attach label { display:block;margin-bottom:5px;} #yiv6105900793 .yiv6105900793attach label a { text-decoration:none;} #yiv6105900793 blockquote { margin:0 0 0 4px;} #yiv6105900793 .yiv6105900793bold { font-family:Arial;font-size:13px;font-weight:700;} #yiv6105900793 .yiv6105900793bold a { text-decoration:none;} #yiv6105900793 dd.yiv6105900793last p a { font-family:Verdana;font-weight:700;} #yiv6105900793 dd.yiv6105900793last p span { margin-right:10px;font-family:Verdana;font-weight:700;} #yiv6105900793 dd.yiv6105900793last p span.yiv6105900793yshortcuts { margin-right:0;} #yiv6105900793 div.yiv6105900793attach-table div div a { text-decoration:none;} #yiv6105900793 div.yiv6105900793attach-table { width:400px;} #yiv6105900793 div.yiv6105900793file-title a, #yiv6105900793 div.yiv6105900793file-title a:active, #yiv6105900793 div.yiv6105900793file-title a:hover, #yiv6105900793 div.yiv6105900793file-title a:visited { text-decoration:none;} #yiv6105900793 div.yiv6105900793photo-title a, #yiv6105900793 div.yiv6105900793photo-title a:active, #yiv6105900793 div.yiv6105900793photo-title a:hover, #yiv6105900793 div.yiv6105900793photo-title a:visited { text-decoration:none;} #yiv6105900793 div#yiv6105900793ygrp-mlmsg #yiv6105900793ygrp-msg p a span.yiv6105900793yshortcuts { font-family:Verdana;font-size:10px;font-weight:normal;} #yiv6105900793 .yiv6105900793green { color:#628c2a;} #yiv6105900793 .yiv6105900793MsoNormal { margin:0 0 0 0;} #yiv6105900793 o { font-size:0;} #yiv6105900793 #yiv6105900793photos div { float:left;width:72px;} #yiv6105900793 #yiv6105900793photos div div { border:1px solid #666666;height:62px;overflow:hidden;width:62px;} #yiv6105900793 #yiv6105900793photos div label { color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;} #yiv6105900793 #yiv6105900793reco-category { font-size:77%;} #yiv6105900793 #yiv6105900793reco-desc { font-size:77%;} #yiv6105900793 .yiv6105900793replbq { margin:4px;} #yiv6105900793 #yiv6105900793ygrp-actbar div a:first-child { margin-right:2px;padding-right:5px;} #yiv6105900793 #yiv6105900793ygrp-mlmsg { font-size:13px;font-family:Arial, helvetica, clean, sans-serif;} #yiv6105900793 #yiv6105900793ygrp-mlmsg table { font-size:inherit;font:100%;} #yiv6105900793 #yiv6105900793ygrp-mlmsg select, #yiv6105900793 input, #yiv6105900793 textarea { font:99% Arial, Helvetica, clean, sans-serif;} #yiv6105900793 #yiv6105900793ygrp-mlmsg pre, #yiv6105900793 code { font:115% monospace;} #yiv6105900793 #yiv6105900793ygrp-mlmsg * { line-height:1.22em;} #yiv6105900793 #yiv6105900793ygrp-mlmsg #yiv6105900793logo { padding-bottom:10px;} #yiv6105900793 #yiv6105900793ygrp-msg p a { font-family:Verdana;} #yiv6105900793 #yiv6105900793ygrp-msg p#yiv6105900793attach-count span { color:#1E66AE;font-weight:700;} #yiv6105900793 #yiv6105900793ygrp-reco #yiv6105900793reco-head { color:#ff7900;font-weight:700;} #yiv6105900793 #yiv6105900793ygrp-reco { margin-bottom:20px;padding:0px;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ov li a { font-size:130%;text-decoration:none;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ov li { font-size:77%;list-style-type:square;padding:6px 0;} #yiv6105900793 #yiv6105900793ygrp-sponsor #yiv6105900793ov ul { margin:0;padding:0 0 0 8px;} #yiv6105900793 #yiv6105900793ygrp-text { font-family:Georgia;} #yiv6105900793 #yiv6105900793ygrp-text p { margin:0 0 1em 0;} #yiv6105900793 #yiv6105900793ygrp-text tt { font-size:120%;} #yiv6105900793 #yiv6105900793ygrp-vital ul li:last-child { border-right:none !important; } #yiv6105900793 |
to navigate to use esc to dismiss