> > 1) You mentioned 'every 1 second', but i saw the following line in > StrategyRunner.java > scheduler.scheduleWithFixedDelay(new SnapshotHandler(), 0, 500, > TimeUnit.MILLISECONDS); > shouldn't it be half second? >
No, it's every 1 second. The 500ms scheduler rate is to ensure that we get exactly on the second. If we scheduled every 1 second, sampling would be off due to clock drift. See the run() method in SnapshotHandler.java. > 2) how balance related to volume? is this statement true: higher balance > means high volumen? > > There is no relationship between balance and volume, or more precisely, the relationship is unknown since JBT does not keep track of volume. However, in the next release, it will. Regardless, these are two different quantities: balance measures the state of the limit order book, and volume is the number of contracts/shares traded. -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
