Tag Archives: MongoDB

MongoDB NOSQL LIVE TONITE at 8PM EST

MongoDB NOSQL LIVE TONITE at 8PM EST

Hi there

In less than two hours at 8 PM Eastern Daily Time, I will be showcasing live a quick tutorial on how to use Mongo DB which is the NoSQL database of my choice. Remember this is an open source database as well. This will be my last time I will be covering this important database. Here is the login ID but realize you need to be a Quant Elite Member to participate.

Get more info here:

https://quantlabs.net/blog/python-algo-course-series-for-your-indie-automated-trading-business/

Note all time in Eastern Standard same as New York.

Login ID here or more info for 8 PM tonite:

http://www.meetup.com/quant-finance/events/229086939/

http://www.meetup.com/R-Matlab-Users/events/229086952/

I have also posted a few free Meetups:

High probability technical trading this Thursday:

http://www.meetup.com/quant-finance/events/229401260/

http://www.meetup.com/R-Matlab-Users/events/229401258/

A long needed trading pow wow Meetup on Monday April 4:

http://www.meetup.com/R-Matlab-Users/events/229401258/

http://www.meetup.com/quant-finance/events/229401260/

Another April social din din on Monday April 11:

http://www.meetup.com/quant-finance/events/229971182/

http://www.meetup.com/R-Matlab-Users/events/229971144/

Thanks 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!

How to insert update delete in a MongoDB NOSQL database with Python

How to insert update delete in a MongoDB NOSQL database

In my 30 minute video, I cover all the major functions of any database with this popular NOSQL database

All scripts available in my Quant Elite

Join my FREE newsletter to learn more about how I use MongoDB for my algo trading

 

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!

Start NOSQL MongoDB in Linux via shell script

How start NOSQL MongoDB in Linux via shell script

Watch the video for instructions but the script is below:

Join my FREE newsletter to learn moe how i use NO SQL Mongo for my algo trading

#!/bin/bash
# http://linuxconfig.org/bash-scripting-tutorial
mongod –dbpath data/db

 

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!

How to load market data into NOSQL MongoDB server with GUI

How to load market data into NOSQL MongoDB server with GUI
Import using  in a terminal session:

mongoimport -d test -c restaurants –type csv –file /Users/quantlabsnet/Documents/python/mongo/test.csv –headerline

from http://stackoverflow.com/questions/4686500/how-to-use-mongoimport-to-import-csv

 

This is in conjunction with:

How to use NOSQL MongoDB with GUI

Join my FREE newsletter to use MongoDB as your database for your algo trading

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!

How to use NOSQL MongoDB with GUI

How to use MongoDB with GUI

I am tired of MYSQL lacking utilities thanks to Oracle. Postgres does not look stable in Mac OSX. That leaves me with SQLite or MongoDB. SQLite does not allow clustering while MongoDB does while it is fairly easy to setup. I plan to use MongoDB as a traditional relational database with Redis for in memory. Let’s see what happens with this combo.

 

Also according to DBEngines, it is getting very popular even overtaking Postgres.

http://db-engines.com/en/ranking

 

https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/

 

Best GUI client: https://coderwall.com/p/fb5dgg/the-best-mongodb-gui-for-mac-os-x

Go through Mongo Shell tuturial at https://docs.mongodb.org/getting-started/shell/query/#prerequisites

NOTE: I found RoboMongo kept crashing so I used MongoHub which seems stable. Retrieve under the headline of Download https://github.com/jeromelebel/MongoHub-Mac

On Mongo shell, create database: (http://www.tutorialspoint.com/mongodb/mongodb_create_database.htm)

use qln

Create collection via https://docs.mongodb.org/manual/reference/method/db.createCollection/

I decided to use Python to do all the database creation with collection and population of data.

For each new MongoDB table, export Excel to a CSV and import using the solution at

mongoimport --db myDb --collection myCollection --type csv --headerline --file /path/to/myfile.csv

http://stackoverflow.com/questions/25241500/how-to-import-excel-file-xlsx-to-mongodb

Join my FREE newsletter to learn more about how I plan to use this NOSQL for automated trading

 

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!

MongoDB NOSQL enterprise analytics and encryption

MongoDB with enterprise analytics and encryption

Uh ok,….Redis seems to be just as good where you SHOULD able to encrypt on the fly with loads of analytical software build around the datastore. Hey even IBM is using it for their FPGA cluster

IBM Accelerates Power8 Clusters With GPUs, FPGAs, And Flash

The difference? http://stackoverflow.com/questions/5400163/when-to-redis-when-to-mongodb

http://oldblog.antirez.com/post/MongoDB-and-Redis.html

Join my FREE newsletter to see how use I use Redis for my automated trading with potential HFT

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!

Install MongoDB NOSQL onto Ubuntu Linux

Install MongoDB  NOSQL onto Ubuntu Linux

This sucks but part of the  software engineering process

I ran various sessions for the C binding of HiRedis which is for Redis. It seems to be full of bugs causing these mysterious core dumps. It is sort of frustrating to work with and I have no idea why this is failing. It makes it sort of useless.

As a result, I have switched to my back up which is MongoDB. I will test the Java and C binding to ensure they run. I will not bother confirming Matlab as that is what Postgres is for.
Redis is 3x faster than MongoDB so it does hurt

http://stackoverflow.com/questions/5252577/how-much-faster-is-redis-than-mongodb

https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

https://www.vultr.com/docs/installing-mongodb-on-ubuntu-14-04

 

Join my FREE newsletter to see how MongoDB works out for my automated trading

 

 

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!

How to install MongoDB onto Ubuntu Linux

How to install MongoDB onto Ubuntu Linux

To install Mongo onto Ubuntu 14 Linux

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-14-04

 

Download MongoDB Cxx driver

http://dl.mongodb.org/dl/cxx-driver/

 

Follow build command in http://stackoverflow.com/questions/14082666/error-building-simple-mongodb-c-client-example

 

Join my FREE newsletter to learn more about MongoDB on Linux

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!

No MongoDB Visual Studio C++ example

No MongoDB Visual Studio C++ example

Nothing like things exist except for some driver which does not provide exactly what I am looking for.  I am perplexed why this is ignored on decent sites like CodeProject.com. I don’t really want a C# version of it so sorry.

Join my FREE newsletter to learn more about my choice of Redis

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!

Is Docker with NOSQL MongoDB useful for trading

 

Docker with NOSQL MongoDB useful for trading

I find technology can be to fast-moving sometimes. When the world was introduced to Docker, I could not find any use cases for it in the world of trading. The last few days, I was reading about how Goldman Sachs started using it in their environment so I reviewed a number of tutorial videos which were posted here.

 

Some of these videos included ‘spinning’ up virtual environments which could include MongoDB instances. I was wondering if you could do the same with Redis. If you have any experience with this technology, please reach out to me as I’d like to learn more and how you use these tools in your trading environment.

Viber? Couchbase NOSQL still limited

Another NOSQL option that I know of is CouchBase. After watching this video presentation about Viber, I wondered if it could be any better than Redis.

 

Here are some opinions I have on CouchBase.

 

Video playback LIVE Q&A on Best Workflow to your HFT Potential

Lastly, I just posted my one hour live Q&A presentation video playback on what I call “the best workflow to HFT”. I hope I covered all the topics including my live demos using this methodology to generate quick trading ideas into highly efficient source code like C/C++.

 

Do check out this video here

 

I plan to implement approximately 60 algorithms from my trading from UC Davis futures/options course I have worked on over the last few weeks. You can get immediate access to this within my Quant Elite membership.

 

See all the latest benefits of this membership here.

Seriously interested in this?  Go here 

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!