Tag Archives: MongoDB

Back to Postgresql as MongoDB and SQLite fail

Back to Postgresql as MongoDB and SQLite fail

After heavier testing, I kept running into SQLite ‘database is locked’ message all the time. It is really frustrating so I resorted back to MongoDB. When I tried reading in my database with pyMongo Python package, I kept getting no results. I would then reset tthe script, then it would work in a wierd way. It seems to be unreliable so I gave up there. This was the first time I cam across this issue. The latest hacking of MongoDB does not help either. I tried Cassandra but they proved to be unreliable. So here we are. Back to Postgres I go. At least it is more reliable.

Join my FREE newsletter to see which database option proves to be most reliable

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Apple Swift 3 with SQLite MongoDB Redis NOSQL

Apple Swift 3 with SQLite MongoDB Redis NOSQL

As said, I get open source solutions can be a real pain. So let’s try more with NOSQL open source solutions. Remember I am using Swift 3 with Xcode which makes it tougher to work with older Swift code. It seems the Swift code converter is useless for us newbies. Remember this is experimental at this point for me. I would also like to add these tutorial also include exposing myself to newer technologies like Docker and REST protocol. Let’s get this done.

http://www.theappguruz.com/blog/use-sqlite-database-swiftMONG

 

SQLite Tutorial: Getting Started

View at Medium.com

MongoDB with REST

https://www.teskalabs.com/blog/tutorial_ch04_ios_rest_integration_mongodb

https://github.com/TeskaLabs/SeaCatTutorials/tree/master/ch03_ios_rest_integration/RESTClient <– What idiot would this monster of Hell?

https://github.com/swizzlr/swift-redis

 

Join my FREE newsletter to learn how these Swift solutions work out for me

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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 struts their NOSQL stuff in NYC

MongoDB struts their NOSQL stuff in NYC

I am still hoping to implement with Redis
Thanks to Nuno on Facebook
http://www.datanami.com/2016/06/28/mongodb-struts-nosql-stuff-nyc/?eid=328382442&bid=1450391

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Proof of concept to load C++ class dynamically with wxWidgets and MongoDB NOQL calls

Proof of concept to load C++ class dynamically with wxWidgets and MongoDB NOQL calls

Important combination of these important concepts as I build out this automated trading in C++

http://stackoverflow.com/questions/496664/c-dynamic-shared-library-on-linux

Join my FREE newsletter to learn more about using these C++ concepts for automated trading

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Test C++ with wxWidget GUI and NOSQL MongoDB ping in Ubuntu Linux

Test C++ with wxWidget GUI and NOSQL MongoDB ping in Ubuntu Linux

Big milestone test completed as explained in my video

Source and Codelite IDE project available for Quant Elite members

Join my FREE newsletter to learn more about these C++ libraries for automated trading

 

Historical videos you should watch to understand the history

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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 compile the NOSQL MongoDB C driver for Ubuntu Linux

How to compile the NOSQL MongoDB C driver for Ubuntu Linux

This was a massive choice to complete but I did it within this Codelite IDE

Join my FREE newsletter to learn more about using MongoDB in your automated trading

Build C++ MongoDB Driver
https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-%28New-Driver%29

Need Cmake 3.2
http://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu-14-04

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update

When cmake is not yet installed:

sudo apt-get install cmake

Might be better to build the Mongo C Driver

https://github.com/mongodb/mongo-c-driver
Get latest tarball here https://github.com/mongodb/mongo-c-driver/releases

Library is created in /home/caustic/cpp/mongo-c-driver-1.3.5

If you are tight on driver space with MongoDB daemon, you could use:
sudo mongod –dbpath ~/mongodb-data –smallfiles

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Great tutorial on Python MongoDB for Financial market data

 

Great tutorial on Python MongoDB for Financial market data

Thanks to an impressive contributor from within my Meetup and Facebook groups

I have a course related around exactly this which is here

Python algo course series for your Indie Automated Trading Business

Join my FREE newsletter to learn how I am using this technology for my automated trading

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Tutorial on Python on Ubuntu Linux with PyCharm MongoDB NoSQL

Tutorial on Python on Ubuntu Linux with PyCharm NOSQL MongoDB

Last Wednesday, I held my first 1 i LIVE TUTORIAL for one of my Quant Elite members. As non-technical trader, it is a common/classic scenario on where they are challenged in how to set up their automated trading environment. This is the hope that they can get caught up in all the lessons I’ve been teaching live.

Check out this helpful video for those that are in the same scenario

As you can imagine, this is one of the many common situations that I see. It is also a common practice of mine to get everybody up to speed that are struggling and setting up their environment which is probably the hardest step of all for automated trading. I try to give an extra personal Touch for them to accomplish this. Do realize this takes a bit of my time but I will happily do it. Unfortunately, there is a deadline for everything. I’m not sure if I’ll be helping out everybody as I have in the past as I’m going into a new direction with data analytics and trading analysis. This will start to take effect as of July sometime.

 

As I’ve been hinting in the last few emails, it is quite apparent that the trading technology space is getting overcrowded. Not only that, with the expectation of free it gets kind of hard to compete against that. As said, this is why I’m giving myself to July to help out people on the technical front. After that, I am unsure of my ability to commit my time for such goals. As a result, it is just another reason why you should join my Quant Elite membership to take advantage of this as well as learn about building out your trading business with automated trading.

I will be hosting our very first step in about learning an automated trading strategy starting this May 10 on Tuesday at 8 PM Eastern standard time.

Learn more and hear about the first video in detail about the Pair Trading/Arbitrage strategy for all global equities that Yahoo Finance tracks

 

Get immediate access here

MONTHLY: $97/MONTH: Click here

6 BONUS MONTH FREE Annual: Click here

BIGGEST SAVINGS with 24 BONUS months: Click here
Thanks for reading

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

Tutorial on Python on Ubuntu Linux with PyCharm NOSQL MongoDB

Tutorial on Python on Ubuntu Linux with PyCharm NOSQL MongoDB

Private lesson for one of my Quant Elite membership helping in my newer course

Python algo course series for your Indie Automated Trading Business

Join my FREE newsletter to learn how these tools can help in your automated trading

Links in video:

http://stackoverflow.com/questions/22139173/how-to-connect-to-mongo-database-locally-using-python

http://stackoverflow.com/questions/21354977/python-installing-pymongo-with-anaconda

MongoDB and Python: A Simple Example

https://api.mongodb.org/python/current/api/pymongo/mongo_client.html

http://api.mongodb.org/python/current/tutorial.html

http://askubuntu.com/questions/505919/installing-anaconda-python-on-ubuntu

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!

To SQL or NOSQL? Easy choice with MongoDB

To SQL or NOSQL? Easy choice with MongoDB

AS I have said over the last few months, I go with MongoDB NOSQL for various reasons. I just did a live talk/tutorial on it how I will use it for my automated trading solution.

Get access here

Python algo course series for your Indie Automated Trading Business

http://arstechnica.com/information-technology/2016/03/to-sql-or-nosql-thats-the-database-question/

Join my FREE newsletter to learn about using NOSQL for your automated trading

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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!