Today, the bot sold at 13:52:36 and bought at 14:42:29,
Chicago time. It wasn't the best time to sell, but the buy to
cover timing wasn't bad -- sold at 1451.50, bought at 1451.50.
I added the capability to limit the number of trades per
session, and today I ran it with one trade.
I had some enums for the 'Callable's return values, and some
constants for timeout values that needed to be shared by
two '.java' files. I tried to "import" them, but the compiler
wouldn't accept an "import" in the current directory. So, I
tried putting them in an "include" directory, with
"package include;" at the front of them. It worked!
Fortunately, I tried just leaving them in the current directory
without the "package" directive and the compiler found them.
Apparently, the compiler will "import" anything in the current
directory -- I don't know whether that's a bug or a feature.
Chicago time. It wasn't the best time to sell, but the buy to
cover timing wasn't bad -- sold at 1451.50, bought at 1451.50.
I added the capability to limit the number of trades per
session, and today I ran it with one trade.
I had some enums for the 'Callable's return values, and some
constants for timeout values that needed to be shared by
two '.java' files. I tried to "import" them, but the compiler
wouldn't accept an "import" in the current directory. So, I
tried putting them in an "include" directory, with
"package include;" at the front of them. It worked!
Fortunately, I tried just leaving them in the current directory
without the "package" directive and the compiler found them.
Apparently, the compiler will "import" anything in the current
directory -- I don't know whether that's a bug or a feature.