Tag Archives: arrays

Hitchhiker Tips on Effectively using Python NumPy Arrays

 

I posted an article  which became popular in my Facebook programming group. If you read this article, it focuses on Python Pandas arrays. This is no different with other lower level languages like C++, C or Java, arrays, These served their purpose so yes read this article here. This article can also help you get on a path to building your OWN algo trading system

https://towardsdatascience.com/hitchhiker-tips-on-effectively-using-python-numpy-arrays-66649b7bd5fb

Convenience of using data frame structure instead

Once you start working with more convenient data structures like data frames, you start to see how your coding becomes more expedient. This is very handy if you like to see your data structured no different than a spreadsheet like Excel. You can quickly run basic math functions on columns which is very handy. It is no wonder I am addicted to my style of coding within Python. Di you know I have a entire set of courses to introduce you learning how to build a primitive algo trading system? Check it out here:

 

In fact if you are interested about building your basic algo trading system, get in touch as I can lead on  path to build one I can put you on a path that can get you building with in a few weeks! 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

I wonder that Did you know MATLAB has table arrays and regression modeling?

I wonder that  Did you know MATLAB has table arrays and regression modeling?

I am plan to add more neat demos courtesy of this powerful tool

I wonder: Did you know MATLAB has table arrays and regression modeling?
Q & A on what is the best way to stream Excel data into SQL database table with DotNet CSharp? – See more at: https://quantlabs.net/blog/2014/03/q-a-on-what-is-the-best-way-to-stream-excel-data-into-sql-database-table-with-dotnet-csharp/#sthash.mhhIQdJ8.dpuf
I have included the links on where to get the software from Paul to play around with:
Dynamic surface from Paul Cottrell Poseidon software – See more at:https://quantlabs.net/blog/2014/03/dynamic-surface-from-paul-cottrell-poseidon-software/#sthash.G1yuKcUU.dpuf
Is it worth to have a Tim Sykes binge to see how his strategy really works
Most sensible review of Timothy Sykes I have ever read so where do I stand? | Quant Academy Trading Ideas | Forum
FX Options: Using Technical Analysis to Improve Directional Trading in UK | Traders In Your Local Area | Forum – See more at: http://quantlabs.net/academy/forum/traders-in-your-local-area/fx-options-using-technical-analysis-to-improve-directional-trading-in-uk/#sthash.7ejGMwEh.dpuf
Hope this help
Bryan
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

OMeter Benchmark: Zadara Virtual Private Storage Arrays vs Amazon Elastic Block

OMeter Benchmark: Zadara Virtual Private Storage Arrays vs Amazon Elastic Block Storagevimeo.com

This video shows a performance benchmark comparison between Amazon EBS volume and Zadara iSCSI volume, from an EC2 Windows machine.

http://vimeo.com/36670421

=–

Are there any workload generators like IOMeter for measuring TCP/IP throughput ? I mean that this might help us tune the TCP buffer size, find dropped packets etc.

 

I commented before joining. Unsure if it succeeded or not.

Are there tools like IOMeter to measure TCP/IP socket throughput ? I mean this might help us tune send and receive buffer size, find dropped packets etc.

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Solid State Drive Arrays For Large Data Storage Requirements

Solid State Drive Arrays For Large Data Storage Requirements

I am wondering if any of you have used arrays of SSDs for fast data retrieval of large chunks of data? I have a client whose spec requires 120 TB of data to be accessed most expediently, and he specifically is looking for SSDs as a candidate media. This data will be written once, and read many times, so it should not be too harsh on the SSDs’ longevity.

—-

Will the 120TB be access by a large cluster or by end-users on workstations?

Is the 120TB be accessed all at once or can it be subdivided?

Take a look at the Gridiron Systems TurboCharger. A 2.5 TB system (SSD-based) can accelerate up to 50 TB of back-end storage. It designed specifically for read intensive environments. Here’s their product page:
http://www.gridironsystems.com/products/turbocharger

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

C++ interview questions on database, debugging, gdb, arrays

Database:
Suppose your software requires the client to enter information into a database. What do you do if data insertion takes too long?
I said, improve the hardware. Not what he was looking for, but the answer worke
Debugging
in unix one task/process is stuck. How will debug it ?
Attach it to GDB via gdb -p PID and see where its stuck. Now examine various parameter values, to see what they are at the moment (this is convenient the process and libraries were compiled with -g i.e. with debugging information. Otherwise disassemble current (or previous frames) via gdb, and get ready for long session of reading assembly).

Simple function to add two numbers – try to think of all possible ways to debug it –
int range overflow (how to detect) , incorrect inputs, error codes and return values etc.
Arrays:
what all errors is possible if u write past the array bounds?
memory corruption, call stack corruption. In unix, scope is limited to these 2 inside a process. In RTOS, the corruption can span across multiple tasks/processes
you inadvertently overwrite some portion of memory that some pointer or a variable is pointing to when you write past array bounds

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

c++ interview questions on iterator and arrays

Iterator
3.Question: What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator.
Answer: .An internal iterator is implemented with member functions of the class that has items to step through. .An external iterator is implemented as a separate class that can be “attach” to the object that has items to step through. .An external iterator has the advantage that many difference iterators can be active simultaneously on the same object.

Array:
Write a function to add an array of numbers.
what kind of numbers, real/integer

int add_Num(int arr[], int n ){

int sum = 0;
int j = 0;
while (j < n ){ sum+=arr[j]; j++; } return sum; } merging two arrays (second one being larger than the elements in it) into one without using 3rd array. what all errors is possible if u write past the array bounds? memory corruption, call stack corruption. In unix, scope is limited to these 2 inside a process. In RTOS, the corruption can span across multiple tasks/processes you inadvertently overwrite some portion of memory that some pointer or a variable is pointing to when you write past array bounds 4.Question: Why are arrays usually processed with for loop? Answer: The real power of arrays comes from their facility of using an index variable to traverse the array, accessing each element with the same expression a[i]. All the is needed to make this work is a iterated statement in which the variable i serves as a counter, incrementing from 0 to a.length -1. That is exactly what a loop does.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!