[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: AmiBroker 5.28.0 BETA released



PureBytes Links

Trading Reference Links

Hello,

Incorrect. 1 MB of cache will keep not 250 bars, but as much as 250 THOUSAND (250000) bars.

4 byte per bar in the array. 4000 bytes per 1000 bars and 4MB per million bars in a single array.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "paultsho" <paul.tsho@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, August 22, 2009 3:52 PM
Subject: [amibroker] Re: AmiBroker 5.28.0 BETA released


> That depends on how many arrays you use in your afl.
> for example, if each field on a record is loaded, it uses up 40 bytes
> but each array is only 4 bytes * nSize. 1 M of L2 cache will keep 250 bars of a single array, ie 25000 bars will need 10 M of 
> cache. There are roughly 400 bars of 1 min per day session or 2000 bar per week.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "sidhartha70" <sidhartha70@xxx> wrote:
>>
>> Brilliant TJ. Thanks.
>>
>> Question... I want to start looking at some n-sec timeframes.
>>
>> Mainly 15 sec, and 30 sec.
>> I currently use a 25,000 bar 1 min DB which runs super quick because it keeps all the data within the CPU cache, and also gives 
>> me about a weeks work of data on the e-mini's which is all I need for day trading.
>>
>> To get 15 sec & 30 sec intervals, I assume I am best to set my DB base interval to 15 sec, and then set a 30 sec interval up via 
>> preferences>intraday....??
>>
>> Any ideas how far I can push the number of bars to in my DB and keep all the data in CPU cache still to keep the speed high...??
>>
>> I'm running an Intel Xeon X5365 CPU.
>>
>> TIA
>>
>> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@> wrote:
>> >
>> > Hello,
>> > AmiBroker 5.28.0 BETA released:
>> >
>> > http://www.amibroker.com/devlog/2009/08/22/amibroker-5-28-0-beta-released/
>> >
>> >
>> > Best regards,
>> > Tomasz Janeczko
>> > amibroker.com
>> >
>>
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/