[zeromq-dev] REST over ZeroMQ

Michael Powell mwpowellhtx at gmail.com
Mon Feb 9 13:16:52 CET 2015


On Mon, Feb 9, 2015 at 6:04 AM, Doron Somech <somdoron at gmail.com> wrote:
> How would you use Position (Financial Trading) as a resource?
>
> For example, the opening of the position will be a put operation, but what
> about setting stop loss/take profit and/or closing the position? All of them
> will be Post?
>
> When something is a pure resource I try to design a RESTful service but with
> something like position I prefer to have commands like ClosePositionCommand,
> UpdateStopLossCommand, etc...

.../api/position/{id}: {closed=1|0}
.../api/stoploss/{id}: { ... }

?

>
> On Mon, Feb 9, 2015 at 1:10 PM, Pieter Hintjens <ph at imatix.com> wrote:
>>
>> Hi all,
>>
>> I've published a draft RFC meant to help build RESTful APIs /
>> protocols over ZeroMQ: http://hintjens.com/blog:86
>>
>> Comments welcome. There is a basic zproto model.
>>
>> -Pieter
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list