This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using org.apache.zookeeper; | |
using org.apache.zookeeper.recipes.@lock; | |
namespace ZooKeeperNetExTest | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading.Tasks; | |
using org.apache.zookeeper; | |
namespace ZooKeeperNetExTest | |
{ | |
internal class Program | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// example of com.nj4x.ext.mw.rpc.get_rates_by_date/by_dates RPC | |
// | |
(function (brokerId, symbolId) { | |
toDate = function (date) { | |
//2015-11-08T23:00:00 | |
//0123456789012345678 | |
var day = parseInt(date.slice(8, 10)), | |
month = parseInt(date.slice(5, 7)) - 1, | |
year = parseInt(date.slice(0, 4)), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
using nj4x.Metatrader; | |
using NUnit.Framework; | |
namespace nj4x.Appliance.Tests | |
{ | |
public class Account : IDisposable | |
{ |